diff options
author | Denis Vlasenko | 2006-10-26 23:32:43 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-26 23:32:43 +0000 |
commit | 1de0830e6220c3a5583903c685aa21faced2f02c (patch) | |
tree | 3f6522c749c32000d84cc941477c42303d2806c5 | |
parent | ddec5af6b0803c7434a1cc2fdee5cb9873fe6bd0 (diff) | |
download | busybox-1de0830e6220c3a5583903c685aa21faced2f02c.zip busybox-1de0830e6220c3a5583903c685aa21faced2f02c.tar.gz |
Fix minor breakage in previous commit
-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 da936d6..234ba12 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -245,10 +245,10 @@ extern off_t bb_copyfd_eof(int fd1, int fd2); extern char bb_process_escape_sequence(const char **ptr); extern char *bb_get_last_path_component(char *path); -/* Prints to stdout closes entire FILE. Exits on error: */ +/* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ extern void xprint_and_close_file(FILE *file); extern char *xmalloc_fgets(FILE *file); -/* /* Read up to (and including) TERMINATING_STRING: */ +/* Read up to (and including) TERMINATING_STRING: */ extern char *xmalloc_fgets_str(FILE *file, const char *terminating_string); /* Chops off '\n' from the end, unlike fgets: */ extern char *xmalloc_getline(FILE *file); |