Availability:C-language interface function
char* Sfgets(char
*buf, int n, IOSTREAM *s)Read a line of input as a sequence of bytes. The buf
is n bytes long. On success, buf is returned and
contains a 0-terminated C string that ends with a \n
character. On end-of-file or an error, NULL
is returned. If
the input line is longer that n bytes buf is not
0-terminated.