.\" @(#)putc.3f 1.3 86/01/02 SMI; from UCB 4.2 .TH PUTC 3F "98/09/16" .SH NAME putc, fputc \- write a character to a FORTRAN logical unit .SH SYNOPSIS .\" .IX putc "" \fLputc\fR .IX fputc "" \fLfputc\fR .IX "put a character putc, fputc" "" "put a character: \&\fLputc\fR, \&\fLfputc\fR" .IX character "put a character putc, fputc" "" "put a character: \&\fLputc\fR, \&\fLfputc\fP" .IX "write a character putc, fputc" "" "write a character: \&\fLputc\fR, \&\fLfputc\fR" .\" .B integer*4 function putc (char) .br .B character char .sp 1 .B integer*4 function fputc (lunit, char) .br .B character char .SH DESCRIPTION These functions write a character to the file associated with a FORTRAN logical unit, bypassing normal FORTRAN I/O. .PP .B putc writes to logical unit 6, which is normally connected to the control terminal output. .PP The value of each function is zero unless some error occurred, a system error code otherwise. See .BR perror (3F). .\" .SH FILES .\" .B libF77.a .SH "SEE ALSO" .BR putc (3S), .BR intro (2), .BR perror (3F)