Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/31/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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.