RCS file: write_dev.c,v Working file: write_dev.c head: 1.37 branch: locks: strict root: 1.37 access list: symbolic names: keyword substitution: kv total revisions: 37; selected revisions: 37 description: start dev_write() —————————- revision 1.37 locked by: root; date: 2014/12/15 04:29:54; author: root; … Continue reading
RCS file: trim.c,v Working file: trim.c head: 1.14 branch: locks: strict root: 1.14 access list: symbolic names: keyword substitution: kv total revisions: 14; selected revisions: 14 description: —————————- revision 1.14 locked by: root; date: 2014/12/13 11:18:22; author: root; state: Exp; … Continue reading
RCS file: open_dev.c,v Working file: open_dev.c head: 1.12 branch: locks: strict root: 1.12 access list: symbolic names: keyword substitution: kv total revisions: 12; selected revisions: 12 description: open function for character driver is declared in this file —————————- revision 1.12 … Continue reading
RCS file: ./header.h,v Working file: ./header.h 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 header file for character driver in this file i include … Continue reading
RCS for sever file RCS file: server.c,v Working file: server.c head: 1.34 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 34; selected revisions: 34 description: server program using threads —————————- revision 1.34 date: 2014/11/21 06:58:33; author: … Continue reading
Header file RCS for IPC project using message queue: RCS file: ./header.h,v Working file: ./header.h head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: header file for client … Continue reading
server.c: #include”header1.h” int main() { pid_t pid_c,pid_p; int fd_c[2],fd_p[2],counter=0,pipec_success,pipep_success,stat_val,res; char fd_cr[2],fd_cw[2],fd_pr[2],fd_pw[2],*path; struct data_format data; path = malloc(sizeof(char)*50); while(counter < 3) { pipec_success = pipe(fd_c); if(pipec_success != 0) { perror(“Pipe client:”); return -1; } sprintf(fd_cr,”%d”,fd_c[0]); sprintf(fd_cw,”%d”,fd_c[1]); printf(“Enter path\n”); gets(path); pid_c = … Continue reading
Output of the program is: Main function starts File opened successfully with fd 3 i am in parent I am in child process and my pid is 1505 fd received from calling process is 3 file contains Welcome to emblogic. … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.45 branch: locks: strict root: 1.45 access list: symbolic names: keyword substitution: kv total revisions: 45; selected revisions: 45 description: create a base code for multiple data compression and encryption using iterative technique … Continue reading
RCS file: header.h,v Working file: header.h head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5; selected revisions: 5 description: create header file for multiple data compression and encryption using iterative technique —————————- … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.32 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 32; selected revisions: 32 description: create a base code for multiple data compression and encryption using iterative technique —————————- revision … Continue reading