pxftcgetattr(3F)

PXFTCGETATTR, PXFTCSETATTR - Set or get a state

As shipped in IRIX 6.5.30. Added in IRIX 6.5.19.

NAME
     PXFTCGETATTR, PXFTCSETATTR - Set or get a state

SYNOPSIS
     SUBROUTINE PXFTCGETATTR (ifildes, jtermios, ierror)
     INTEGER ifildes, jtermios, ierror

     SUBROUTINE PXFTCSETATTR (ifildes, ioptacts, jtermios, ierror)
     INTEGER ifildes, ioptacts, jtermios, ierror

DESCRIPTION
     PXFTCGETATTR uses the C function tcgetattr(2) to get parameters
     associated with a file descriptor and stores them in the termios
     structure.

     PXFTCGETATTR uses the C function tcsetattr(2) to set the parameters
     associated with a terminal from the termios structure.

     The following are valid arguments for these routines:

     ifildes   Default integer input variable containing a file descriptor.

     ioptacts  Default input integer variable for an optional action.  Use
               PXFCONST to retrieve the values of the optional actions.

     jtermios  Default integer input variable containing a handle created by
               PXFSTRUCTCREATE('termios',...).

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

     PXFTCGETATTR and PXFTCSETATTR may return one of the following error
     values:

     EBADF       If ifildes is not a valid file descriptor.

     EBADHANDLE  The jtermios argument is invalid.

     EINTR       A signal interrupted the tcsetattr function.

     EINVAL      The ioptacts argument is invalid.

     ENOTTY      The file associated with ifilldes is not a terminal.

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