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

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

PXFTTYNAME

POSIX Subroutine: Gets the terminal pathname. This routine is only available for Linux and macOS.

Module

USE IFPOSIX

CALL PXFTTYNAME (ifildes,s,ilen,ierror)

ifildes

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

s

(Output) Character. The returned terminal pathname.

ilen

(Output) INTEGER(4). The length of the string stored in s.

ierror

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

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