Intel® Fortran Compiler 16.0 User and Reference Guide

PXFFGETC

POSIX Subroutine: Reads a character from a file.

Module

USE IFPOSIX

CALL PXFFGETC (lunit,char,ierror)

lunit

(Input) INTEGER(4). A Fortran logical unit.

char

(Input) Character. The character to be read.

ierror

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

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

The PXFFGETC subroutine reads a character from a file connected to unit lunit.

See Also