This is insert the data into the ram and print it.
Character driver —————————- revision 1.38 date: 2016/03/11 05:46:49; author: root; state: Exp; lines: +0 -1 *** empty log message *** —————————- revision 1.37 date: 2016/03/10 09:52:22; author: root; state: Exp; lines: +1 -1 *** empty log message *** —————————- revision … Continue reading
multiple data compression with four bit RCS file: code_length.c,v Working file: code_length.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: This is code_length(). Here we calculate the … Continue reading
char driver RCS file: cleanup.c,v Working file: cleanup.c head: 1.25 branch: locks: strict root: 1.25 access list: symbolic names: keyword substitution: kv total revisions: 25; selected revisions: 25 description: This cleanup() is use to remove the driver from kernel. —————————- … Continue reading
RCS file: cleanup.c,v Working file: cleanup.c head: 1.25 branch: locks: strict root: 1.25 access list: symbolic names: keyword substitution: kv total revisions: 25; selected revisions: 25 description: This cleanup() is use to remove the driver from kernel. —————————- revision 1.25 … Continue reading
SERVER #include<stdio.h> #include<stdlib.h> #include<linux/types.h> #include<linux/socket.h> #include<sys/un.h> #include<netinet/in.h> int main(int argc,char *argv[]) { int sfd,s_len,b,a,l,nfd,c_len,spn; struct sockaddr_in addr; struct sockaddr_in c_addr; sfd = socket(AF_INET,SOCK_STREAM,0); spn = atoi(argv[1]);//for command line arrguments //int socket(int domain, int type, int protocol);3rd arrguments 0 for defalut … Continue reading
server_program int main() 9 { 10 int s_sockfd,c_sockfd; 11 int c_len,s_len,s_result; 12 struct sockaddr_un s_address; 13 struct sockaddr_un c_address; 14 unlink(“emblogic”); 15 s_sockfd = socket(AF_UNIX,SOCK_STREAM,0); 16 printf(“Print the s_sockfd %d\n”,s_sockfd); 17 if(s_sockfd == -1) 18 { 19 perror(“Error due to … Continue reading
RCS file: intro_shared_memory_by_fork.c,v Working file: intro_shared_memory_by_fork.c head: 1.36 branch: locks: strict emblogic: 1.36 access list: symbolic names: keyword substitution: kv total revisions: 36; selected revisions: 36 description: This is my frist program to know the use of shared memory. We … Continue reading
THIS IS SEND DATA RCS RCS file: msg_send.c,v Working file: msg_send.c head: 1.11 branch: locks: strict emblogic: 1.11 access list: symbolic names: keyword substitution: kv total revisions: 11; selected revisions: 11 description: Here use the msg_queue to send the data. … Continue reading
RCS file: msg_que_fork.c,v Working file: msg_que_fork.c head: 1.22 branch: locks: strict emblogic: 1.22 access list: symbolic names: keyword substitution: kv total revisions: 22; selected revisions: 22 description: This is my frist prog. on mag queue. —————————- revision 1.22 locked by: … Continue reading
RCS file: linklist.c,v Working file: linklist.c head: 1.18 branch: locks: strict sanjaysingla: 1.18 access list: symbolic names: keyword substitution: kv total revisions: 18; selected revisions: 18 description: Here we make a linklist(). In this we take a value of choice … Continue reading
RCS file: header.h,v Working file: header.h head: 1.4 branch: locks: strict sanjaysingla: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: Make the rcs version of header Where we store the header file and … Continue reading
And close the comparasion prototype —————————- revision 1.1 date: 2015/06/25 09:53:12; author: sanjaysingla; state: Exp; Initial revision ============================================================================= RCS file: prototype.h,v Working file: prototype.h head: 1.1 branch: locks: strict sanjaysingla: 1.1 access list: symbolic names: keyword substitution: kv total revisions: … Continue reading
Arrray is containe multiple value with same data type and contain continuous address. E.g.if we consider a[10] then it take 0 to 9 continuous address.