Read a FILE* till an empty line or eof and return it as a char buffer.
authorGlenn L McGrath <bug1@ihug.co.nz>
Sun, 15 Apr 2001 12:36:19 +0000 (12:36 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Sun, 15 Apr 2001 12:36:19 +0000 (12:36 -0000)
commit65708e4cd1b234501aec3af0970f21ad6736aa44
tree8575911dae91c9e9c9f032e9a37c869be9159b0f
parent4a2e4635253e615678cea6f2c253485d26dde73a
Read a FILE* till an empty line or eof and return it as a char buffer.
In future maybe add char *end_str to interface to allow calling function
to specify end point.
libbb/read_text_file_to_buffer.c [new file with mode: 0644]