EmbLogic's Blog

Category Archives: Uncategorized

program of function.

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 →

Posted in Uncategorized | Leave a comment

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 →

Posted in Uncategorized | Leave a comment

program of creating file using function.

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 →

Posted in Uncategorized | Leave a comment

project -mdc.

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 →

Posted in Uncategorized | Leave a comment

C library function – atoi()

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.

Posted in Uncategorized | Leave a comment

Client server communication using linux and IPC having two client

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 →

Posted in Project 03: Client Server Communication using Linux and IPC, Uncategorized | Leave a comment

create, open ,written and read file using functions()

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

Posted in Uncategorized | Leave a comment

pipes

implemented interprocess communication using pipes.

Posted in Uncategorized | Leave a comment

implemented interprocess communication using pipe

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.

Posted in Uncategorized | Leave a comment

implemented interprocess communication without 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().

Posted in Uncategorized | Leave a comment

Sys_siglist[] and the log file.

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 →

Posted in Uncategorized | Leave a comment

Signal no.2 SIGINT

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 →

Posted in Uncategorized | Leave a comment

swapping variable different method

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 →

Posted in Uncategorized | Leave a comment

Creating two clients from same server and making communication possible.

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 →

Posted in Uncategorized | Leave a comment

Character Device Driver : Semaphore

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 →

Posted in Uncategorized | Leave a comment