In daemon programming, why use setsid() to create a new session? if not, what will happen? besides, If one process in a process group without a process leader, what will happen?

guest (rain)
(#117396@0)
2001-7-2 -05:00

回到话题: In daemon programming, why use setsid() to create a new session? if not, what will happen? besides, If one process in a process group without a process leader, what will happen?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论

URL:   
http://www.rolia.net/zh/post.php?f=0&p=117396