int get_next_line(int fd, char **line);
get_next_line.c,Β get_next_line_utils.c,Β get_next_line.h
#1. νλ‘κ·Έλ¨μ΄ μ½μ νμΌ λμ€ν¬λ½ν°(file descriptor for reading)
#2. μ½μ΄μλ κ°(The value of what has been read)
1 : ν λΌμΈμ΄ μ½νμ λ(A line has been read)
0 : EOFμ λλ¬νμ λ(EOF has been reached)
-1 : μλ¬κ° λ°μνμ λ(An error happened)
νμΌ λμ€ν¬λ½ν°λ‘λΆν° μ½μ΄ μ¨ νλμ λΌμΈ(newline μμ΄)μ λ°ννλ ν¨μ μμ±
Write a function which returns a line read from a file descriptor, without the newline