aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-02-17 14:28:53 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-02-17 14:28:53 +0000
commitcb448fe01bbe75ef31c3190e8b63b0e1a320ffb4 (patch)
tree9757477193c1b8f3be9a772cabfb1ef92639240e /include
parentffae845cfd0a0b9872827d806984841d4cfee104 (diff)
downloadbusybox-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.h2
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);
298int xopen3(const char *pathname, int flags, int mode); 298int xopen3(const char *pathname, int flags, int mode);
299int open_or_warn(const char *pathname, int flags); 299int open_or_warn(const char *pathname, int flags);
300int open3_or_warn(const char *pathname, int flags, int mode); 300int open3_or_warn(const char *pathname, int flags, int mode);
301void xrename(const char *oldpath, const char *newpath);
302int rename_or_warn(const char *oldpath, const char *newpath);
301off_t xlseek(int fd, off_t offset, int whence); 303off_t xlseek(int fd, off_t offset, int whence);
302off_t fdlength(int fd); 304off_t fdlength(int fd);
303 305