summaryrefslogtreecommitdiff
path: root/lib/libc/fcntl/creat.c
blob: 4b84ecae297edc2af4d5172f957222d81495d15b (plain)
1
2
3
4
5
6
7
8
9
10
11



#include <fcntl.h>     // for creat
#include <sys/types.h> // for mode_t
#include <syscall.h>   // for __syscall_2, syscall

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