PXFTCGETATTR

POSIX Subroutine: Reads current terminal settings. This routine is only available for Linux and macOS.

Module

USE IFPOSIX

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 termiosstructure, use PXFSTRUCTCREATE with the string 'termios' for the structure name.

See Also