EmbLogic's Blog

Category Archives: Uncategorized

Creating a pipe

RCS file: ser.c,v Working file: ser.c head: 1.5 branch: locks: strict akshat: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: IPC- INTERPROCESS COMMUNICATION, communication btw two processes invoking a fork call and then … Continue reading →

Posted in Uncategorized | Leave a comment

Insertion Sort Algo

RCS file: prog7.c,v Working file: prog7.c head: 1.7 branch: locks: strict akshat: 1.7 access list: symbolic names: keyword substitution: kv total revisions: 7;    selected revisions: 7 description: Insertion sorting One element is taken and compared with other elements of sorted … Continue reading →

Posted in Uncategorized | Leave a comment

Waiting for a process by giving atexit is done.

RCS file: ./wait1.c,v Working file: ./wait1.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3;    selected revisions: 3 description: waiting for a process is done successfuly. —————————- revision 1.3    locked by: root; … Continue reading →

Posted in Uncategorized | Leave a comment

Fork duplicacy

RCS file: 1.c,v Working file: 1.c head: 1.20 branch: locks: strict akshat: 1.20 access list: symbolic names: keyword substitution: kv total revisions: 20;    selected revisions: 20 description: IPC process basic. Working of fork. —————————- revision 1.20    locked by: akshat; date: … Continue reading →

Posted in Uncategorized | Leave a comment

Function is invoked on process exit time using at_exit().

RCS file: ./atexit.c,v Working file: ./atexit.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: function is invoked on process exit time using at_exit(). —————————- revision 1.1    locked … Continue reading →

Posted in Uncategorized | Leave a comment

Duplicating a process

RCS file: ./message.c,v Working file: ./message.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: duplicating of a process. —————————- revision 1.1    locked by: root; date: 2014/03/05 15:40:46;  … Continue reading →

Posted in Uncategorized | Leave a comment

Character Device Driver

Presently i am implementing character device driver,there are short description of my work on driver till now. >1st initialize the character driver by allocating memory on physical memory by registering in the kernel as a kernel module. >And extracting major … Continue reading →

Posted in Uncategorized | Leave a comment

FACTS ABOUT BITWISE OPERATORS..

Interesting Facts about Bitwise Operators in C In C, following 6 operators are bitwise operators (work at bit-level) & (bitwise AND) Takes two numbers as operand and does AND on every bit of two numbers. The result of AND is … Continue reading →

Posted in Uncategorized | Leave a comment

Servers

FTP AND TFTP— These are the servers for used for file transfer. FTP-file transfer protocol :uses TCP :FTP uses port 20 (for data) and 21 (for control) :in this connections are made and then file transfer is done :in this … Continue reading →

Posted in Uncategorized | Tagged , | Leave a comment

character driver

We develop a character driver because this class is suitable for most simple hardware devices. Char drivers are also easier to understand than block drivers or network drivers.we present code fragments extracted from a real device driver: scull (Simple Character … Continue reading →

Posted in Uncategorized | Leave a comment

what is BIT

Bit is a smallest unit of information.For defineing a bit we use the Voltage,Bit recognization,flow of wave or signal.

Posted in Uncategorized | Leave a comment

SIMPLEX TYPE CODE OF BINARY SEARCH

/*condition for binary search is this that… u have to use sorted array & u should know size of array in which element is to be searched otherwise do sorting 1st*/ #include<stdio.h> int main() { int search; int hi=10,lw=0,mid=0,i,k,proceed; int … Continue reading →

Posted in Uncategorized | Leave a comment

MDC PROJECT

MDC MDC stands for MULTIPLE DATA COMPRESSION AND ENCRYPTION using Iterative techniques, It is the back-end process for every communication via internet. Whatsapp, Facebook, Viber and all the latest messangers have adapted this technique of encryption and decryption. Sometimes this … Continue reading →

Posted in Uncategorized | Leave a comment

PARALLEL PORT

what is parallel port? A connector for a device  that send and recieve several bits of data simultaneously. three modes for parallel communication:- 1)compatible mode   2)nibble mode    3)byte mode 1) personal computers today are equipped with a parallel … Continue reading →

Posted in Uncategorized | Leave a comment

syntax of c function pointer

1.Define a Function Pointer Since a function pointer is nothing else than a variable, it must be defined as usual. In the following example we define a function pointers named pt2Function. It points to a function, which take one float … Continue reading →

Posted in Uncategorized | Leave a comment