diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 | ||||
-rw-r--r-- | include/usage.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 4067063e6..f50ae3604 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -281,8 +281,9 @@ extern int recursive_action(const char *fileName, unsigned flags, | |||
281 | void* userData, unsigned depth); | 281 | void* userData, unsigned depth); |
282 | extern int device_open(const char *device, int mode); | 282 | extern int device_open(const char *device, int mode); |
283 | enum { GETPTY_BUFSIZE = 16 }; /* more than enough for "/dev/ttyXXX" */ | 283 | enum { GETPTY_BUFSIZE = 16 }; /* more than enough for "/dev/ttyXXX" */ |
284 | extern int getpty(char *line); | 284 | extern int xgetpty(char *line); |
285 | extern int get_console_fd(void); | 285 | extern int get_console_fd(void); |
286 | extern void console_make_active(int fd, const int vt_num); | ||
286 | extern char *find_block_device(const char *path); | 287 | extern char *find_block_device(const char *path); |
287 | /* bb_copyfd_XX print read/write errors and return -1 if they occur */ | 288 | /* bb_copyfd_XX print read/write errors and return -1 if they occur */ |
288 | extern off_t bb_copyfd_eof(int fd1, int fd2); | 289 | extern off_t bb_copyfd_eof(int fd1, int fd2); |
@@ -590,6 +591,7 @@ extern ssize_t safe_write(int fd, const void *buf, size_t count); | |||
590 | // if some data was written before error occurred | 591 | // if some data was written before error occurred |
591 | extern ssize_t full_write(int fd, const void *buf, size_t count); | 592 | extern ssize_t full_write(int fd, const void *buf, size_t count); |
592 | extern void xwrite(int fd, const void *buf, size_t count); | 593 | extern void xwrite(int fd, const void *buf, size_t count); |
594 | extern void xopen_xwrite_close(const char* file, const char *str); | ||
593 | 595 | ||
594 | /* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ | 596 | /* Reads and prints to stdout till eof, then closes FILE. Exits on error: */ |
595 | extern void xprint_and_close_file(FILE *file); | 597 | extern void xprint_and_close_file(FILE *file); |
diff --git a/include/usage.h b/include/usage.h index d5c53a255..cffe78220 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -875,7 +875,7 @@ | |||
875 | #define dumpkmap_trivial_usage \ | 875 | #define dumpkmap_trivial_usage \ |
876 | "> keymap" | 876 | "> keymap" |
877 | #define dumpkmap_full_usage "\n\n" \ | 877 | #define dumpkmap_full_usage "\n\n" \ |
878 | "Print out a binary keyboard translation table to standard output" | 878 | "Print a binary keyboard translation table to standard output" |
879 | #define dumpkmap_example_usage \ | 879 | #define dumpkmap_example_usage \ |
880 | "$ dumpkmap > keymap\n" | 880 | "$ dumpkmap > keymap\n" |
881 | 881 | ||