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

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

PXFCTERMID

POSIX Subroutine: Generates a terminal pathname. This routine is only available for Linux.

Module

USE IFPOSIX

CALL PXFCTERMID (s,ilen,ierror)

s

(Output) Character. The returned pathname of the terminal.

ilen

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

ierror

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

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

This subroutine returns a string that refers to the current controlling terminal for the current process.