Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fgetc(3f) — Ultrix/UWS 4.2 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

intro(2)

getc(3s)

perror(3f)

getc(3f)  —  VAX  —  Unsupported

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, usually connected to the control terminal input.

The value of each function is a system status code. Zero indicates no error occurred on the read.  A −1 indicates end of file was detected.  A positive value will be either an ULTRIX system error code or an f77 I/O error code.  For further information, see perror(.).

Files

/usr/lib/libU77.a

See Also

intro(2), getc(3s), perror(3f)

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