Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getpgrp2(2) — DG/UX 4.30

Media Vault

Software Library

Restoration Projects

Artifacts Sought



     getpgrp2(2)                DG/UX 4.30                 getpgrp2(2)



     NAME
          getpgrp2 - Get process group.

     SYNOPSIS
          int     getpgrp2 (pid)
          int     pid;

     PARAMETERS
          pid            This argument specifies 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.

     EXCEPTIONS
          Errno may be set to the following error code:


          ESRCH          The process specified by <pid> does not
                         exist.

     SEE ALSO
          The related system calls:  getpgrp, setpgrp, setpgrp2
















     Licensed material--property of copyright holder(s)         Page 1



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