Sign in
cobalt
/
cobalt
/
25902c6cb1ab9cfd8ae2ee6b0fb52953f73deda5
/
.
/
third_party
/
musl
/
src
/
unistd
/
symlink.c
blob: 0973d78a8936bca2cef633f361abd2401bd82f4a [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
<fcntl.h>
#include
"syscall.h"
int
symlink
(
const
char
*
existing
,
const
char
*
new
)
{
#ifdef
SYS_symlink
return
syscall
(
SYS_symlink
,
existing
,
new
);
#else
return
syscall
(
SYS_symlinkat
,
existing
,
AT_FDCWD
,
new
);
#endif
}