


GETLINE(SFS3)     MISC. REFERENCE MANUAL PAGES      GETLINE(SFS3)



NAME
     getline - get a line from the standard input

SYNOPSIS
     char *  getline(buff,len)
     char *  buff;
     int     len;


DESCRIPTION
     getline is a routine to read a line of input from the  stan-
     dard input, and place it into buff. A maximum of len-1 char-
     acters are read in, and any remaining characters on the line
     and the terminating '\n' character is discarded.

DIAGNOSTICS
     getline returns buff on success, and  the  NULL  pointer  on
     end-of-file.

VERSION/AUTHOR
     1.0 - Mark Huckvale

SOURCE
     /ptemp/mark/sfs/libsfs/getline.c































SFS                     Last change: UCL                        1



