3 setsid, getpgrp \- create process group, get process group id
16 creates a new session if the calling process is not already a session
17 leader. The calling process becomes the session leader of a new process
18 group and the process group ID of this new process group will be equal to
19 the process ID of the new session leader. The process group ID is inherited
24 returns the process group ID of the calling process.
31 returns the new process group ID on success, or \-1 with
35 if the process is already a session leader.
37 Kees J. Bot (kjb@cs.vu.nl)
40 .\" $PchId: setsid.2,v 1.2 1996/04/11 06:06:36 philip Exp $