Commit b27c61ba authored by Nils Goroll's avatar Nils Goroll

add remove

(who the hell uses these legacy calls? java doess...)
parent ce299845
FUNCTION(int, link, const char *, const char *)
FUNCTION(int, unlink, const char *)
FUNCTION(int, remove, const char *)
FUNCTION(int, chown, const char *, uid_t, gid_t)
FUNCTION(int, chmod, const char *, mode_t)
FUNCTION(int, mknod, const char *, mode_t, dev_t)
......
......@@ -700,6 +700,11 @@ our(unlink)(const char *p) {
return our(unlinkat)(AT_FDCWD, p, 0);
}
int
our(remove)(const char *p) {
return our(unlinkat)(AT_FDCWD, p, 0);
}
/** SYMLINK **/
#ifdef HAVE_SYMLINKAT
/* slightly differnt signature - damn */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment