# 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.

Parent topic: POSIX* Library Routines

## See Also

PXFFPUTC