mk_read_line — Read a line from stdin
mk_read_line
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.
result