Name

mk_read_line — Read a line from stdin

Synopsis

mk_read_line

Description

Reads a single line from stdin and sets result to result. If a line was read, this function returns 0 (logical true). If a line could not be read (e.g. due to end of file), 1 is returned.