Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

putc(3S)

intro(2)

perror(3F)

putc(3F)

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 the fortran logical unit lunit 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

/usr/lib/libU77.a

SEE ALSO

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

NOTES

When compiling source with the -Qocs option, an explicit underscore needs to be added to the end of putc.  When compiling source with the -Qocs option, the routine fputc is not accessible because of the unused parameters that the 88Open OCS standard requires for CHARACTER parameters.

CX/UX Hf77 Fortran Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026