Library /sys$common/syshlp/helplib.hlb  —  CRTL  getpgrp
    Gets the process group ID of the calling process.

    This function is supported on OpenVMS Integrity servers and
    Alpha only.

    Format

      #include  <unistd.h>

      pid_t getpgrp  (void);

1  –  Description

    The getpgrp function returns the process group ID of the calling
    process.

    The getpgrp function is always successful, and no return value is
    reserved to indicate an error.

    This function requires that long (32-bit) UID/GID support be
    enabled. See 32-Bit UID and GID Macro (Integrity servers, Alpha)
    for more information.

2  –  Return Values

    x                  The process group ID of the calling process.
Close Help