projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added pipe-sync
[util-vserver.git]
/
util-vserver
/
src
/
wrappers.h
diff --git
a/util-vserver/src/wrappers.h
b/util-vserver/src/wrappers.h
index
2278855
..
62f9481
100644
(file)
--- a/
util-vserver/src/wrappers.h
+++ b/
util-vserver/src/wrappers.h
@@
-181,6
+181,12
@@
Esymlink(const char *oldpath, const char *newpath)
FatalErrnoError(symlink(oldpath, newpath)==-1, "symlink()");
}
+inline static WRAPPER_DECL void
+Eunlink(char const *pathname)
+{
+ FatalErrnoError(unlink(pathname)==-1, "unlink()");
+}
+
#undef WRAPPER_DECL
#endif // H_UTIL_VSERVER_SRC_WRAPPERS_H