diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-17 14:28:53 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-02-17 14:28:53 +0000 |
commit | cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4 (patch) | |
tree | 9757477193c1b8f3be9a772cabfb1ef92639240e /include | |
parent | ffae845cfd0a0b9872827d806984841d4cfee104 (diff) | |
download | busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.tar.gz busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.tar.bz2 busybox-w32-cb448fe01bbe75ef31c3190e8b63b0e1a320ffb4.zip |
libbb: introduce and use xrename and rename_or_warn.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 67afcdf94..2af89df95 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -298,6 +298,8 @@ int xopen(const char *pathname, int flags); | |||
298 | int xopen3(const char *pathname, int flags, int mode); | 298 | int xopen3(const char *pathname, int flags, int mode); |
299 | int open_or_warn(const char *pathname, int flags); | 299 | int open_or_warn(const char *pathname, int flags); |
300 | int open3_or_warn(const char *pathname, int flags, int mode); | 300 | int open3_or_warn(const char *pathname, int flags, int mode); |
301 | void xrename(const char *oldpath, const char *newpath); | ||
302 | int rename_or_warn(const char *oldpath, const char *newpath); | ||
301 | off_t xlseek(int fd, off_t offset, int whence); | 303 | off_t xlseek(int fd, off_t offset, int whence); |
302 | off_t fdlength(int fd); | 304 | off_t fdlength(int fd); |
303 | 305 | ||