summaryrefslogtreecommitdiff
path: root/lib/libc/stat/mkdirat.c
blob: 49a4cecf942c78734cb93735b135c8d07556062c (plain)
1
2
3
4
5
6
7
8
9
10
#include "asm/unistd_64.h" // for __NR_mkdirat

#include <sys/stat.h>  // for mkdirat
#include <sys/types.h> // for mode_t
#include <syscall.h>   // for __syscall_3, syscall

int mkdirat(int fd, const char *path, mode_t mode)
{
	return syscall(mkdirat, fd, path, mode);
}