


      SETPGRP(2)                  (UNIX 5.0)                 SETPGRP(2)



      NAME
           setpgrp - set process group ID

      SYNTAX
           int setpgrp ()

      DESCRIPTION
           Setpgrp 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
           Setpgrp returns the value of the new process group ID.

      SEE ALSO
           exec(2), fork(2), getpgrp(2), getpid(2), intro(2), kill(2),
           signal(2).






































      Page 1                                         (73 A2 02MTA REV1)



