Use BUFSIZ for line buffer.