Schily's LIBRARY FUNCTIONS GETLINE(3)
getline() - reads a line from standard input
getline() reads up to length characters from the standard
input using getc() (q.v.). The transfer is also terminated
by a newline, end of file, or read error. The buffer is NULL
('\0') terminated with the new line removed.
Returns either the number of bytes in the buffer or a stan-
dard system error code (including EOF).
getline() always reads to the end of the input line, even if
the line is longer than the buffer.
Joerg Schilling Last change: 15. Juli 1988 1
Man(1) output converted with