summaryrefslogtreecommitdiff
path: root/lib/libc/stat/mkdirat.c
blob: 03b2c0703713819781ff2c8f5df07f7e3c13c2d6 (plain)
1
2
3
4
5
6
7
8
9
10


#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);
}