Go to main content
Oracle Developer Studio 12.6 Man Pages

Exit Print View

Updated: June 2017
 
 

putc(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

libfsu.a

See Also

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