pxftcgetpgrp(3F)

PXFTCGETPGRP - Get foreground process group ID

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.19.

NAME
     PXFTCGETPGRP - Get foreground process group ID

SYNOPSIS
     SUBROUTINE PXFTCGETPGRP (ifildes, ipgid, ierror)
     INTEGER ifildes, ipgid, ierror

DESCRIPTION
     PXFTCGETPGRP uses the pxftcgetpgrp system call to return the value of the
     foreground process group.

     The following are valid arguments for this routine:

     ifildes     Default integer input variable containing a file descriptor.

     ipgid       Default output integer variable specifying the foreground
                 process group ID of the terminal specified by ifildes.

     ierror      Default integer output variable that contains zero if the
                 operation was successful or nonzero if the operation was not
                 successful.

     PXFTCGETPGRP may return one of the following error values:

     EBADF       ifildes is not a valid file descriptor.

     ENOTTY      The file associated with ifildes is not a terminal.

NOTES
     The PXF_DEFINITIONS module can be used by Fortran 90 users to enable
     caller-callee interface checking.

SEE ALSO
     pxftcgetpgrp(2)