FGETC(3)
NAME
fgetc, getchar − get character from a device
SYNOPSIS
#include <io.h>
int fgetc(dev)
int dev;
int getchar()
DESCRIPTION
These procedures are included for compatibility with UNIX. Fgetc returns the next character from the named input device.
Getchar() is identical to getc(CONSOLE).
Note that fgetc is exactly equivalent to getc.
SEE ALSO
getc(2), putc(2), gets(3), scanf(3),
DIAGNOSTICS
These functions return SYSERR to indicate an illegal device or read error.
December 01, 1986 — Xinu Programmer’s Manual