summaryrefslogblamecommitdiff
path: root/src/stat/mkdir.c
blob: 8295cad5a90b3972529015bc7b48ef43fb45b781 (plain) (tree)
1
2
3
4
5
6
7






                                                      
#include <sys/stat.h>
#include "syscall.h"

int mkdir(const char *path, mode_t mode)
{
	return syscall2(__NR_mkdir, (long)path, mode);
}