RCS file: 1.c,v Working file: 1.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: —————————- revision 1.1 locked by: root; date: 2014/08/19 12:34:16; author: root; state: Exp; … Continue reading
RCS file: sread.c,v Working file: sread.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: this is the reading function to read the data from the kernel space. … Continue reading
RCS file: init.c,v Working file: init.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: driver is inserted and registered in kernel space. driver is initialized and add … Continue reading
A Linux driver is a Linux module which can be loaded and linked to the kernel at runtime. The driver operates in kernel space and becomes part of the kernel once loaded, the kernel being monolithic. It can then access the symbols … Continue reading
Pipes are used to establish communication between no. of processes. creating a pipe in c: To create a simple pipe with C, we make use of the pipe() system call. It takes a single argument, which is an array of … Continue reading
A function is a self contained block of statements that have predefined meanings.you can divide up your code into separate functions. How you divide up your code among different functions is up to you, but logically the division usually is … Continue reading