diff options
Diffstat (limited to 'src/stat/mkdirat.c')
-rw-r--r-- | src/stat/mkdirat.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/stat/mkdirat.c b/src/stat/mkdirat.c new file mode 100644 index 00000000..1fb38250 --- /dev/null +++ b/src/stat/mkdirat.c @@ -0,0 +1,7 @@ +#include <sys/stat.h> +#include "syscall.h" + +int mkdirat(int fd, const char *path, mode_t mode) +{ + return syscall3(__NR_mkdirat, fd, (long)path, mode); +} |