|
|
1.1 root 1: .TH GETC 3F "13 June 1983"
2: .UC 4
3: .SH NAME
4: getc, fgetc \- get a character from a logical unit
5: .SH SYNOPSIS
6: .B integer function getc (char)
7: .br
8: .B character char
9: .sp 1
10: .B integer function fgetc (lunit, char)
11: .br
12: .B character char
13: .SH DESCRIPTION
14: These routines return the next character from a file associated with a
15: fortran logical unit, bypassing normal fortran I/O.
16: .I Getc
17: reads from logical unit 5, normally connected to the control terminal input.
18: .PP
19: The value of each function is a system status code. Zero indicates no
20: error occured on the read; \-1 indicates end of file was detected.
21: A positive value will be either a UNIX system error code or an f77 I/O error
22: code. See perror(3F).
23: .SH FILES
24: .ie \nM /usr/ucb/lib/libU77.a
25: .el /usr/lib/libU77.a
26: .SH "SEE ALSO"
27: getc(3S), intro(2), perror(3F)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.