DOC HOME
SITE MAP
MAN PAGES
GNU INFO
SEARCH
PRINT BOOK
setpgrp(S)
setpgrp -- set process group ID
Syntax
cc . . . -lc
int setpgrp ()
Description
The
setpgrp
routine sets the process group ID of the calling process to the process ID of the calling process and returns the new process group ID.
Return value
The
setpgrp
system call returns the value of the new process group ID. No errors are defined.
See also
exec
(S)
,
fork
(S)
,
getpid
(S)
,
kill
(S)
,
sigaction
(S)
Standards conformance
setpgrp
is not part of any currently supported standard; it was developed by UNIX System Laboratories, Inc. and is maintained by The SCO Group.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003