aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 21:25:15 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-05 21:25:15 +0000
commit1bb552b1d9da749050274e0a9cb10b672db22d77 (patch)
treea638c7bbef95bd2c9d72c2e16a5cf4f7b6298458 /include
parent9020d850bf2b0fd547b545e5e366c7ed284a33cb (diff)
downloadbusybox-1bb552b1d9da749050274e0a9cb10b672db22d77.tar.gz
libbb: add xunlink()
patch: do not try to delete same file twice
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 91715c16a..b56352626 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -293,14 +293,15 @@ extern void sig_pause(void);
-extern void xsetgid(gid_t gid);
-extern void xsetuid(uid_t uid);
-extern void xchdir(const char *path);
-extern void xsetenv(const char *key, const char *value);
-extern int xopen(const char *pathname, int flags);
-extern int xopen3(const char *pathname, int flags, int mode);
-extern off_t xlseek(int fd, off_t offset, int whence);
-extern off_t fdlength(int fd);
+void xsetgid(gid_t gid);
+void xsetuid(uid_t uid);
+void xchdir(const char *path);
+void xsetenv(const char *key, const char *value);
+void xunlink(const char *pathname);
+int xopen(const char *pathname, int flags);
+int xopen3(const char *pathname, int flags, int mode);
+off_t xlseek(int fd, off_t offset, int whence);
+off_t fdlength(int fd);
int xsocket(int domain, int type, int protocol);