Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setpgrp(2) — svr4 — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

exec(2)

fork(2)

getpid(2)

kill(2)

setsid(2)

signal(2)



SETPGRP(2-SVR4)     RISC/os Reference Manual      SETPGRP(2-SVR4)



NAME
     setpgrp - set process group ID

SYNOPSIS
     #include <sys/types.h>
     #include <unistd.h>

     pidt setpgrp (void);

DESCRIPTION
     If the calling process is not already a session leader,
     setpgrp sets the process group ID and session ID of the cal-
     ling process to the process ID of the calling process, and
     releases the calling process's controlling terminal.

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

DIAGNOSTICS
     setpgrp returns the value of the new process group ID.

NOTES
     setpgrp will be phased out in favor of the setsid(2) func-
     tion.






























                        Printed 11/19/92                   Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026