GETLINE

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 standard input, and place it into buff. A maximum of len-1 characters 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
Fri Jul 09 14:54:16 2004