Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

RE: Re: I got zombies

by tilly (Archbishop)
on Aug 08, 2000 at 04:44 UTC ( [id://26712]=note: print w/replies, xml ) Need Help??


in reply to Re: I got zombies
in thread I got zombies

Where you were not looking was the POSIX module. That is where setsid() is defined.

EDIT
I went and read it closely. Actually it isn't defined there. It just tells you to see your man page.

DESCRIPTION
setsid() creates a new session if the calling process is not a process group leader. The calling process is the leader of the new session, the process group leader of the new process group, and has no controlling tty. The pro­ cess group ID and session ID of the calling process are set to the PID of the calling process. The calling pro­ cess will be the only process in this new process group and in this new session.
The usage in the code is absolutely identical to what my man page (Debian) has to say in its notes about this function.

BTW I have been amazed lately at how good Google is for picking up information on random technical things. For instance here is a search on setsid.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://26712]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-19 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found