system call programming in linux

Status
Not open for further replies.

akshay985

Member level 4
Joined
Jan 6, 2011
Messages
68
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,288
Location
maharastra,india
Activity points
1,676
we are working on a simple system call program creating 5 child processes using fork from only single parent process, the code is working but with some exceptions . We are waiting the parent in signal handler of SIGCHLD, and checking whther the child is exited but , in our code it is not exiting waitpid() is not reading the child exit status , well is expected zombie is created but it is not showing any zombies . I am not able to visualise the output.
Your explanation would be handy. thank you. i am psting my code also.
 

Attachments

  • prog1.txt
    1.4 KB · Views: 65

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…