diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index c6c2be244..99d681dbe 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -333,6 +333,7 @@ int xopen(const char *pathname, int flags); | |||
333 | int xopen3(const char *pathname, int flags, int mode); | 333 | int xopen3(const char *pathname, int flags, int mode); |
334 | int open_or_warn(const char *pathname, int flags); | 334 | int open_or_warn(const char *pathname, int flags); |
335 | int open3_or_warn(const char *pathname, int flags, int mode); | 335 | int open3_or_warn(const char *pathname, int flags, int mode); |
336 | int open_or_warn_stdin(const char *pathname); | ||
336 | void xrename(const char *oldpath, const char *newpath); | 337 | void xrename(const char *oldpath, const char *newpath); |
337 | int rename_or_warn(const char *oldpath, const char *newpath); | 338 | int rename_or_warn(const char *oldpath, const char *newpath); |
338 | off_t xlseek(int fd, off_t offset, int whence); | 339 | off_t xlseek(int fd, off_t offset, int whence); |
@@ -559,6 +560,7 @@ extern FILE *xfopen(const char *filename, const char *mode); | |||
559 | /* Prints warning to stderr and returns NULL on failure: */ | 560 | /* Prints warning to stderr and returns NULL on failure: */ |
560 | extern FILE *fopen_or_warn(const char *filename, const char *mode); | 561 | extern FILE *fopen_or_warn(const char *filename, const char *mode); |
561 | /* "Opens" stdin if filename is special, else just opens file: */ | 562 | /* "Opens" stdin if filename is special, else just opens file: */ |
563 | extern FILE *xfopen_stdin(const char *filename); | ||
562 | extern FILE *fopen_or_warn_stdin(const char *filename); | 564 | extern FILE *fopen_or_warn_stdin(const char *filename); |
563 | 565 | ||
564 | int bb_pstrcmp(const void *a, const void *b); | 566 | int bb_pstrcmp(const void *a, const void *b); |
@@ -741,6 +743,7 @@ void bb_sanitize_stdio(void); | |||
741 | int sanitize_env_if_suid(void); | 743 | int sanitize_env_if_suid(void); |
742 | 744 | ||
743 | 745 | ||
746 | extern const char *const bb_argv_dash[]; /* "-", NULL */ | ||
744 | extern const char *opt_complementary; | 747 | extern const char *opt_complementary; |
745 | #if ENABLE_GETOPT_LONG | 748 | #if ENABLE_GETOPT_LONG |
746 | #define No_argument "\0" | 749 | #define No_argument "\0" |