getline(3) - get a line from a stream. getline(3) man page in the manpage set for freebsd at The UNIX and Linux Forums.
www.unix.com