Xinu7/man/man3/fgetc.doc
FGETC(3)            Xinu Programmer's Manual             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.
     _F_g_e_t_c returns the next character from the named input _d_e_v_-
     _i_c_e.
     _G_e_t_c_h_a_r() is identical to _g_e_t_c(_C_O_N_S_O_L_E).
     Note that _f_g_e_t_c is exactly equivalent to _g_e_t_c.
SEE ALSO
     getc(2), putc(2), gets(3), scanf(3),
DIAGNOSTICS
     These functions return SYSERR to indicate an illegal device
     or read error.
Version 6b               Printed 1/12/87                        1