Intel® Fortran Compiler 16.0 User and Reference Guide

PXFFPUTC

POSIX Subroutine: Writes a character to a file.

Module

USE IFPOSIX

CALL PXFFPUTC (lunit,char,ierror)

lunit

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

char

(Input) Character. The character to be written.

ierror

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

If successful, ierror is set to zero; otherwise, an error code. A possible error code is EEND if the end of the file has been reached.

The PXFFPUTC subroutine writes a character to the file connected to unit lunit.

See Also