RCS file: ./simple.cpp,v Working file: ./simple.cpp head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: printing “My name is Ruchi”using string mystring —————————- revision 1.1 date: 2014/06/06 12:46:39; author: root; … Continue reading
RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: include the header files for module_exit() and for module_init() also include the license —————————- revision … Continue reading
RCS file: ./thread.c,v Working file: ./thread.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: creating multiple threads using pthread_create() joining the created multiple threads using pthread_join() printing the no … Continue reading
RCS file: ./thread.c,v Working file: ./thread.c head: 1.2 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: pthread_create is used to create the thread pthread_exit() is used in the thread created by … Continue reading
RCS file: ./1.c,v Working file: ./1.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: printing “Hello Word” using printf —————————- revision 1.1 date: 2014/05/23 11:22:57; author: root; state: Exp; … Continue reading
RCS file: ./fac.c,v Working file: ./fac.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: user enter the number —————————- revision 1.2 locked by: root; date: 2014/05/23 15:15:32; … Continue reading
printf(): When printf() is used in a progam,that means whatever statement we want to print on the shell will be written inside the double codes i.e printf(“hello”). If we write printf(“Hello\n”) then \n means when Hello is printed on the … Continue reading
RCS file: req_client_1.c,v Working file: req_client_1.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: sending the data to the server on the request of server’s availability —————————- … Continue reading
RCS file: header.h,v Working file: header.h head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: include header files that are needed in this program struct sculldev structure is included here … Continue reading
A FIFO is similar to a pipe. FIFO (First In First Out) is a one-way flow of data. FIFO’s have a name i.e. FIFO is a named pipe. This is the main difference between pipes and FIFOs. To create FIFO,we … Continue reading
RCS file: ./alarm.c,v Working file: ./alarm.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: global value for alarm_fired is declared. setting the child process for 5 sec … Continue reading
RCS file: ./ignore_sigint.c,v Working file: ./ignore_sigint.c head: 1.2 branch: locks: strict root: 1.2 access list: symbolic names: keyword substitution: kv total revisions: 2; selected revisions: 2 description: ignore the signal using SIG_DFL. —————————- revision 1.2 locked by: root; date: 2014/03/11 … Continue reading