head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.11.09.41.42; author root; state Exp; branches; next ; desc @this is the program in which we have added the distance in feet and inces using function. @ 1.1 … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.11.10.27.11; author root; state Exp; branches; next ; desc @this is the program of function in which we have to enter two string. @ 1.1 log @Initial revision … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.12.14.09.08; author root; state Exp; branches; next ; desc @this is the program in which i have created a file and then used write command using function. @ … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.14.09.00.57; author root; state Exp; branches; next ; desc @this is the program of multiple data compression in which i have ope and read the file. in this … Continue reading
The library function atoi converts string argument to integer just like sscanf. This function returns the converted integer number as an int value. If no valid conversion could be performed, it returns zero.
RCS file: server.c,v Working file: server.c head: 1.1 branch: locks: strict ankit: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: make the pipe for the client 1 make the fork in the child … Continue reading
head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2014.03.12.12.30.53; author root; state Exp; branches; next ; desc @i have created,read and write a file using function. @ 1.1 log @Initial revision @ text
created a communication medium between server and single client. client sends request to the server to perform an operation.server after performing operations send the result back to the client .this result is again read by the client by using pipe.
simply opened file in server side and write the file.this file (file descriptor) is passed as argument through execl to the another program called client which than read the file using sscanf(and then lseek().
RCS file: 2.c,v Working file: 2.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: how a siglist work. it contain all the 64 signals. —————————- revision 1.1 date: 2014/03/13 … Continue reading
RCS file: ./sig_int.c,v Working file: ./sig_int.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: signal 2 is called…. —————————- revision 1.1 locked by: root; date: 2014/03/11 04:58:38; … Continue reading
How to swap two numbers without using a temporary variable? Given two variables, x and y, swap two variables without using a third variable. Method 1 (Using Arithmetic Operators) The idea is to get sum in one of the two … Continue reading
RCS file: ser.c,v Working file: ser.c head: 1.9 branch: locks: strict akshat: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: IPC- INTERPROCESS COMMUNICATION, communication btw two processes invoking a fork call and then … Continue reading
implementation of semaphore in kernel. There are using three application at user level. In 1st application three threads using for Open,Write and close. in 2nd application three threads using for Open,read and close. And last application is same as 2nd … Continue reading