Query: setsid
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
setsid(2) System Calls Manual setsid(2)NAMEsetsid - create session and set process group IDSYNOPSISDESCRIPTIONIf the calling process is not a process group leader, creates a new session. The calling process becomes the session leader of this new session, it becomes the process group leader of a new process group, and it has no controlling terminal. The process group ID of the call- ing process is set equal to the process ID of the calling process. The calling process is the only process in the new process group and the only process in the new session. Security Restrictions Some or all of the actions associated with this system call may require privileges. See privileges(5) for more information.RETURN VALUEUpon successful completion, returns the value of the new process group ID of the calling process. Otherwise, it returns a value of and sets to indicate the error.ERRORSIf fails, no changes occur and (see errno(2)) is set to one of the following values: The calling process is already a process group leader, or the process group ID of a process other than the calling process matches the process ID of the calling process. The calling process does not have sufficient privileges.AUTHORwas developed by HP and AT&T.SEE ALSOexec(2), exit(2), fork(2), getpid(2), kill(2), setpgid(2), setpgrp(2), setpgrp3(2), signal(2), privileges(5), termio(7).STANDARDS CONFORMANCEsetsid(2)
Related Man Pages |
---|
getpgid(2) - hpux |
getpgrp2(2) - hpux |
getpid(2) - hpux |
getppid(2) - hpux |
setsid(2) - sunos |
Similar Topics in the Unix Linux Community |
---|
Gollum |
How to get process id of called process |
How can i copy user permissions(privileges) to a group |
eleminate repated process names and get second column value |
Procstack |