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

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