pxfcfgetospeed(3F)

PXFCFGETISPEED, PXFCFSETISPEED, PXFCFGETOSPEED, PXFCFSETOSPEED - Set output baud rate

As shipped in IRIX 6.5.30. Added in IRIX 6.5.19.

NAME
     PXFCFGETISPEED, PXFCFSETISPEED, PXFCFGETOSPEED, PXFCFSETOSPEED - Set
     output baud rate

SYNOPSIS
     SUBROUTINE PXFCFGETISPEED (jtermios, iospeed, ierror)
     INTEGER jtermios, iospeed, ierror

     SUBROUTINE PXFCFSETISPEED (jtermios, ispeed, ierror)
     INTEGER jtermios, ispeed, ierror

     SUBROUTINE PXFCFGETOSPEED (jtermios, iospeed, ierror)
     INTEGER jtermios, iospeed, ierror

     SUBROUTINE PXFCFSETOSPEED (jtermios, ispeed, ierror)
     INTEGER jtermios, ispeed, ierror

DESCRIPTION
     These routines use C functions to get or set the baud rates in the
     termios structure.  Symbolic names for the baud rates can be obtained
     through calls to PXFCONST.

     PXFCFGETISPEED gets the input baud rate. PXFCFSETISPEED sets the input
     baud rate.  PXFCFGETOSPEED gets the output baud rate.  PXFCFSETOSPEED
     sets the output baud rate.

     The following are valid arguments for these routines:

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

     ispeed    Default input integer variable for a baud rate.

     iospeed   Default output integer variable specifying a baud rate.

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

     These routines may return one of the following error values:

     EBADHANDLE  The jtermios argument is invalid.

     EINVAL      Problems occurred with the baud rate.

     No errors are returned for bad baud rates.

     PXFCFSETISPEED and PXFCFSETOSPEED return 0 if successful; otherwise, they
     return -1.
NOTES
     The PXF_DEFINITIONS module can be used by Fortran 90 users to enable
     caller-callee interface checking.