Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpgrp2(2) — DG/UX R4.11MU05

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getpgrp(2)

setpgrp(2)

setpgrp2(2)



getpgrp2(2)                    DG/UX R4.11MU05                   getpgrp2(2)


NAME
       getpgrp2 - get process group

SYNOPSIS
       #include <sys/types.h>

       gidt  getpgrp2 (pid)
       pidt  pid;

   where:
       pid            The process whose process group is to be returned.  If
                      zero, the process group of the calling process is
                      returned.

DESCRIPTION
       The process group of the specified process is returned by getpgrp2.
       If pid is zero the process group of the calling process is returned.

ACCESS CONTROL
       No access checking is performed.

RETURN VALUE
       process group id    The call succeeded.  The process group id is
                           returned.

       -1                  The specified process does not exist.  errno is
                           set to indicate the error.

DIAGNOSTICS
       Errno may be set to the following error code:

       ESRCH     The process specified by pid does not exist.

SEE ALSO
       getpgrp(2), setpgrp(2), setpgrp2(2).


Licensed material--property of copyright holder(s)

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