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-w32-1bb552b1d9da749050274e0a9cb10b672db22d77.tar.gz
busybox-w32-1bb552b1d9da749050274e0a9cb10b672db22d77.tar.bz2
busybox-w32-1bb552b1d9da749050274e0a9cb10b672db22d77.zip
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);
293 293
294 294
295 295
296extern void xsetgid(gid_t gid); 296void xsetgid(gid_t gid);
297extern void xsetuid(uid_t uid); 297void xsetuid(uid_t uid);
298extern void xchdir(const char *path); 298void xchdir(const char *path);
299extern void xsetenv(const char *key, const char *value); 299void xsetenv(const char *key, const char *value);
300extern int xopen(const char *pathname, int flags); 300void xunlink(const char *pathname);
301extern int xopen3(const char *pathname, int flags, int mode); 301int xopen(const char *pathname, int flags);
302extern off_t xlseek(int fd, off_t offset, int whence); 302int xopen3(const char *pathname, int flags, int mode);
303extern off_t fdlength(int fd); 303off_t xlseek(int fd, off_t offset, int whence);
304off_t fdlength(int fd);
304 305
305 306
306int xsocket(int domain, int type, int protocol); 307int xsocket(int domain, int type, int protocol);