60 { 61 if(database_size==3) 62 goto label3; 63 i=i+43; 64 goto label; 65 } 66 read(connect_fd,password,10); 67 j=11; 68 label1: 69 lseek(fd1,j,SEEK_SET); 70 database_size1++; 71 ret=read(fd1,m_password,10); 72 if(ret<0) 73 perror(“reading file\n”); 74 if(!(strcmp(password,m_password))) 75 { 76 flag_password=0; 77 lseek(fd1,j+11,SEEK_SET); 78 … Continue reading
RCS file: linklist28_2.c,v Working file: linklist28_2.c head: 1.3 branch: locks: strict root: 1.3 access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: created linklist using functions. created insert at the end of linklist function. —————————- … Continue reading
RCS file: stack.c,v Working file: stack.c head: 1.4 branch: locks: strict root: 1.4 access list: symbolic names: keyword substitution: kv total revisions: 4; selected revisions: 4 description: created stack for 10 elements. save address of stack into stackstart. —————————- revision … Continue reading
RCS file: mdc.c,v Working file: mdc.c head: 1.1 branch: locks: strict root: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: implemented open ,read,master array functions. —————————- revision 1.1 locked by: root; date: 2014/02/20 … Continue reading
reading file from file discriptor. creating buffer to store characters from text file. sorting unique chaacters and saving them into master array.