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

    or

getline                      read input

    Reads next record from current input file into $0.  Sets fields, NF, NR
    and FNR.  Returns the number  of characters read, 0 if end-of-file  was
    encountered or -1 if an error occurred.

getline(v)                   read input

    Reads next record from current input file into variable v. Sets NR  and
    FNR.    Returns  the  number  of  characters read, 0 if end-of-file was
    encountered or -1 if an error occurred.

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