EmbLogic's Blog

Author Archives: akash.gupta

E8:todays status

implemented signal handlers..working on assignments.

Posted in Uncategorized | Leave a comment

todays work status

implemented system,fork and exec system calls..including multiple and simultaneous fork…working with signals and handlers.

Posted in Uncategorized | Leave a comment

E7

created master array.working on further project.

Posted in Uncategorized | Tagged | Leave a comment

signals

void signal_handler( int sig) { if(sig==SIGINT) { printf(“Signal %d received\n”,sig); (void) signal(SIGINT,SIG_IGN); (void) signal(SIGINT,SIG_DFL); }…………. in the above code when we press ctrl+c for the second time signal terminates the process instead of being ignored…is there any error in the … Continue reading

Posted in Uncategorized | 2 Comments

process

difference between systemd & init?

Posted in Uncategorized | Leave a comment

implemented fork

gdeveng sir…implemented fork(),simultaneous fork and wait…right nw working on multiple fork.

Posted in Uncategorized | Tagged | Leave a comment

how can i print : “hello”….printing inverted commas as well.

Posted in Uncategorized | 1 Comment

pointers

what does this declaration means: char *ptr=”hello”; ??

Posted in Uncategorized | 3 Comments

pointers

how is memory allocated in expression int *i=100; ?? above statement does’nt show any error..but is the statement correct?? because in documents its written “when a pointer is declared it doesnot point anywhere,we must set it to point sumwhere before … Continue reading

Posted in Uncategorized | 1 Comment

makefile

myapp: main.o 21.o 22.o gcc -o myapp main.o 21.o 22.o main.o: main.c a.h gcc -c main.c 21.o: 21.c a.h b.h gcc -c 21.c 22.o: 22.c b.h c.h gcc -c 22.c makefile:1: *** recipe commences before first target. Stop. ………how to … Continue reading

Posted in Uncategorized | 2 Comments