PXFTCGETATTR (L*X, M*X)

POSIX Subroutine: Reads current terminal settings.

Module: USE IFPOSIX

Syntax

CALL PXFTCGETATTR (ifildes, jtermios, ierror)

ifildes
(Input) INTEGER(4). The file descriptor associated with the terminal.


jtermios
(Output) INTEGER(4). A handle for structure termios. Stores the terminal settings.


ierror
(Output) INTEGER(4). The error status.

If successful, ierror is set to zero; otherwise, an error code.

Note

To get a handle for an instance of the termios structure, use PXFSTRUCTCREATE with the string 'termios' for the structure name.

See Also

PXFSTRUCTCREATE, PXFTCSETATTR