diff options
Diffstat (limited to 'src/unistd/symlinkat.c')
-rw-r--r-- | src/unistd/symlinkat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/unistd/symlinkat.c b/src/unistd/symlinkat.c new file mode 100644 index 0000000..9693b22 --- /dev/null +++ b/src/unistd/symlinkat.c @@ -0,0 +1,7 @@ +#include <unistd.h> +#include "syscall.h" + +int symlinkat(const char *existing, int fd, const char *new) +{ + return syscall3(__NR_symlinkat, (long)existing, fd, (long)new); +} |