DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

setpgrp(S-osr5)


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-osr5), fork(S-osr5), getpid(S-osr5), kill(S-osr5), sigaction(S-osr5)

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.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005