pxftcsetpgrp(3F)

PXFTCSETPGRP - Set foreground process group ID

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

NAME
     PXFTCSETPGRP - Set foreground process group ID

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

DESCRIPTION
     PXFTCSETPGRP uses the pxftcsetpgrp(2) 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 input integer variable specifying a foreground process
               group ID.  Set the foreground process group ID of the terminal
               specified by ifildes to ipgid.

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

     PXFTCSETPGRP may return one of the following error values:

     EBADF       ifildes is not a valid file descriptor.

     EINVAL      ipgid is not a valid process group.

     ENOTTY      The file associated with ifildes is not a terminal.

     EPERM       ipgid does not match the process group of an existing process
                 in the same session as the calling process.

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

SEE ALSO
     pxftcsetpgrp(2)