Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpgrp(2) — posix — mips UMIPS RISC/os 4.52

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setpgid(2)

setsid(2)

sigaction(2)

tcgetpgrp(3)

tcsetpgrp(3)



GETPGRP(2-POSIX)    RISC/os Reference Manual     GETPGRP(2-POSIX)



NAME
     getpgrp - get process group

SYNOPSIS
     #include <sys/types.h>

     pidt getpgrp()

DESCRIPTION
     getpgrp returns the process group ID of the calling process.

     Process groups are used for distribution of signals, and by
     terminals to arbitrate requests for their input; processes
     that have the same process group as the terminal are fore-
     ground processes.

     This call is thus used by programs such as csh(1) to create
     process groups in implementing job control.  The tcgetpgrp
     and tcsetpgrp calls are used to get/set the process group of
     the control terminal.

SEE ALSO
     setpgid(2), setsid(2), sigaction(2), tcgetpgrp(3),
     tcsetpgrp(3).































                         Printed 1/15/91                   Page 1



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