aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h3
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);
333int xopen3(const char *pathname, int flags, int mode); 333int xopen3(const char *pathname, int flags, int mode);
334int open_or_warn(const char *pathname, int flags); 334int open_or_warn(const char *pathname, int flags);
335int open3_or_warn(const char *pathname, int flags, int mode); 335int open3_or_warn(const char *pathname, int flags, int mode);
336int open_or_warn_stdin(const char *pathname);
336void xrename(const char *oldpath, const char *newpath); 337void xrename(const char *oldpath, const char *newpath);
337int rename_or_warn(const char *oldpath, const char *newpath); 338int rename_or_warn(const char *oldpath, const char *newpath);
338off_t xlseek(int fd, off_t offset, int whence); 339off_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: */
560extern FILE *fopen_or_warn(const char *filename, const char *mode); 561extern 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: */
563extern FILE *xfopen_stdin(const char *filename);
562extern FILE *fopen_or_warn_stdin(const char *filename); 564extern FILE *fopen_or_warn_stdin(const char *filename);
563 565
564int bb_pstrcmp(const void *a, const void *b); 566int bb_pstrcmp(const void *a, const void *b);
@@ -741,6 +743,7 @@ void bb_sanitize_stdio(void);
741int sanitize_env_if_suid(void); 743int sanitize_env_if_suid(void);
742 744
743 745
746extern const char *const bb_argv_dash[]; /* "-", NULL */
744extern const char *opt_complementary; 747extern const char *opt_complementary;
745#if ENABLE_GETOPT_LONG 748#if ENABLE_GETOPT_LONG
746#define No_argument "\0" 749#define No_argument "\0"