xref: /original-bsd/share/man/man3f/putc.3 (revision ce06cd54)
Copyright (c) 1983 The Regents of the University of California.
All rights reserved.

%sccs.include.proprietary.roff%

@(#)putc.3 6.2 (Berkeley) 04/30/91

PUTC 3F ""
C 5
NAME
putc, fputc - write a character to a fortran logical unit
SYNOPSIS
integer function putc (char)

character char integer function fputc (lunit, char)

character char

DESCRIPTION
These funtions write a character to the file associated with a fortran logical unit bypassing normal fortran I/O. Putc writes to logical unit 6, normally connected to the control terminal output.

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

FILES
"SEE ALSO"
putc(3S), intro(2), perror(3F)