[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
fgetc(F)                     read input

    Reads and returns next character from file F. Returns 0 of end-of-file,
    -1 on error.

    Note:  If F is the standard input file and the standard input file  has
    not been  piped or  re-directed, then  this function,  and 'getc',  may
    return 0 when a function key, cursor key or other key not corresponding
    to an ASCII character is pressed.   A sceond call must be made to  read
    the keyboard scan code.

See Also: getc fgetline getline
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson