Results 1 to 2 of 2
Hi, I know that setsid() detaches a process to the parent's signals. There exists a function which allows to attach again the parent's signals?
regards...
- 06-10-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 5
setsid() function
Hi, I know that setsid() detaches a process to the parent's signals. There exists a function which allows to attach again the parent's signals?
regards
- 06-10-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
If you read your man page for setsid() you'd have found references to setpgid() and setpgrp(). They will do what you want.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote