Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
Document Table of Contents

PXFTCGETATTR

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

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.