diff options
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index da936d66e..234ba122f 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -245,10 +245,10 @@ extern off_t bb_copyfd_eof(int fd1, int fd2); | |||
245 | extern char bb_process_escape_sequence(const char **ptr); | 245 | extern char bb_process_escape_sequence(const char **ptr); |
246 | extern char *bb_get_last_path_component(char *path); | 246 | extern char *bb_get_last_path_component(char *path); |
247 | 247 | ||
248 | /* Prints to stdout closes entire FILE. Exits on error: */ | 248 | /* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ |
249 | extern void xprint_and_close_file(FILE *file); | 249 | extern void xprint_and_close_file(FILE *file); |
250 | extern char *xmalloc_fgets(FILE *file); | 250 | extern char *xmalloc_fgets(FILE *file); |
251 | /* /* Read up to (and including) TERMINATING_STRING: */ | 251 | /* Read up to (and including) TERMINATING_STRING: */ |
252 | extern char *xmalloc_fgets_str(FILE *file, const char *terminating_string); | 252 | extern char *xmalloc_fgets_str(FILE *file, const char *terminating_string); |
253 | /* Chops off '\n' from the end, unlike fgets: */ | 253 | /* Chops off '\n' from the end, unlike fgets: */ |
254 | extern char *xmalloc_getline(FILE *file); | 254 | extern char *xmalloc_getline(FILE *file); |