GETC(3spp) RISC/os Reference Manual GETC(3spp)
NAME
getc, getchar, - get character from descriptor
SYNOPSIS
#include <saio/saioctl.h>
int getc(descriptor)
int descriptor;
int getchar()
DESCRIPTION
Getc returns the next character from the named input
descriptor.
Getchar reads from the console and unless descriptor 0 has
been closed, it is identical to getc(0).
SEE ALSO
putc(3spp), gets(3spp),
DIAGNOSTICS
These functions return the integer constant EOF at end of
file.
Printed 1/6/92 Page 1