Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getc(3f) — Ultrix FORTRAN 1.0 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

getc(3s)

perror(3f)

getc(3f)  —  RISC

NAME

getc, fgetc − get a character from a logical unit

SYNTAX

integer function getc (char)
character char integer function fgetc (lunit, char)
character char

DESCRIPTION

These routines return the next character from a file associated with a FORTRAN logical unit, bypassing normal fortran I/O.  The getc function reads from logical unit 5, normally connected to the control terminal input.

The value of each function is a system status code. Zero indicates no error occurred on the read; −1 indicates end of file was detected.  A positive value will be either a UNIX system error code or an f77 I/O error code.

FILES

/usr/lib/libU77.a

SEE ALSO

intro(2), getc(3s)
perror(3f) in the FORTRAN Reference Pages

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