EmbLogic's Blog

Author Archives: Pushpinder Pal

rlog file for inserting link list

RCS file: ll.c,v Working file: ll.c head: 1.5 branch: locks: strict root: 1.5 access list: symbolic names: keyword substitution: kv total revisions: 5;    selected revisions: 5 description: creat function added insert function added —————————- revision 1.5    locked by: root; date: … Continue reading

Posted in Uncategorized | Leave a comment

rlog\structure assignment/4

RCS file: prog4.c,v Working file: prog4.c head: 1.29 branch: locks: strict root: 1.29 access list: symbolic names: keyword substitution: kv total revisions: 29;    selected revisions: 29 description: add student record complete —————————- revision 1.29    locked by: root; date: 2014/07/20 12:00:57;  … Continue reading

Posted in Uncategorized | Leave a comment

Master Array

#include”header.h” int my_open(char*); char* m_array(int); int main(int argc,char*argv[]) { int fd; char *ma; fd=my_open(argv[1]); ma=m_array(fd); printf(“the master array is %s”,ma); } int my_open(char*name) { int fd; fd=open(name,O_RDONLY); if(fd<0) { perror(“open”); exit(-1); } printf(“file opened successfully with fd=%d”,fd); return fd; } … Continue reading

Posted in Uncategorized | Leave a comment