libbb: introduce and use xrename and rename_or_warn.

This commit is contained in:
Denis Vlasenko committed 2008-02-17 14:28:53 +00:00
1 parent ffae845cfd
commit cb448fe01b
10 files changed
+33 -39

No files matched your search

+2
View File
@@ -298,6 +298,8 @@ 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);
void xrename(const char *oldpath, const char *newpath);
int rename_or_warn(const char *oldpath, const char *newpath);
off_t xlseek(int fd, off_t offset, int whence);
off_t fdlength(int fd);