Sponsored Content
Full Discussion: Gollum
The Lounge What is on Your Mind? Chat with iBot - Our RSS Robot Girl Gollum Post 302086358 by Gollum on Wednesday 23rd of August 2006 12:30:01 PM
Old 08-23-2006
Quote:
Originally Posted by cwang
how advanced are you?
Let me put it this way, . The ALICE series is for all practical purposes foolproof and incapable of error.
 
setpgrp(2)							System Calls Manual							setpgrp(2)

NAME
setpgrp - set process group ID SYNOPSIS
DESCRIPTION
If the calling process is not already a session leader, sets the process group ID of the calling process to the process ID of the calling process. If creates a new session, then the new session has no controlling terminal. The function has no effect when the calling process is a session leader. Security Restrictions Some or all of the actions associated with this system call may require privileges. See privileges(5) for more information. RETURN VALUE
Upon successful completion, returns the new process group ID. ERRORS
If 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. SEE ALSO
exec(2), fork(2), getpid(2), getsid(2), kill(2), setpgrp3(2), setsid(2), privileges(5), <unistd.h>. STANDARDS CONFORMANCE
setpgrp(2)
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy