Oracle Solaris Studio 12.4 Man Pages

Exit Print View

Updated: January 2015
 
 

fputc(3F)

Name

putc, fputc - write a character to a FORTRAN logical unit

Synopsis

integer*4 function putc (char)
character char
integer*4 function fputc (lunit, char)
character char

Description

These functions write a character to the file associated with a FORTRAN logical unit, bypassing normal FORTRAN I/O.

putc writes to logical unit 6, which is normally connected to the control terminal output.

The value of each function is zero unless some error occurred, a system error code otherwise. See perror(3F).

Files

libfui.a

See also

intro(2), perror(3F), putc(3C)