xref: /original-bsd/share/man/man3f/putc.3 (revision 81f6297c)
Copyright (c) 1983 Regents of the University of California.
All rights reserved. The Berkeley software License Agreement
specifies the terms and conditions for redistribution.

@(#)putc.3 6.1 (Berkeley) 05/15/85

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)