summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h
index c3baf9e..e8f1cf6 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -288,6 +288,8 @@ void xunlink(const char *pathname);
void xstat(const char *pathname, struct stat *buf);
int xopen(const char *pathname, int flags);
int xopen3(const char *pathname, int flags, int mode);
+int open_or_warn(const char *pathname, int flags);
+int open3_or_warn(const char *pathname, int flags, int mode);
off_t xlseek(int fd, off_t offset, int whence);
off_t fdlength(int fd);