Sign in
cobalt
/
cobalt
/
25f5f36f7ec10aaaebdc9eda48cd1423123bdd55
/
.
/
third_party
/
musl
/
src
/
unistd
/
unlink.c
blob: c40c28d50be4e59951afb14dea3436f768e01cc1 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
<fcntl.h>
#include
"syscall.h"
int
unlink
(
const
char
*
path
)
{
#ifdef
SYS_unlink
return
syscall
(
SYS_unlink
,
path
);
#else
return
syscall
(
SYS_unlinkat
,
AT_FDCWD
,
path
,
0
);
#endif
}