summaryrefslogtreecommitdiff
path: root/src/sys/stat/mkfifo.c
blob: e34079e7594c7dfd529cc3aca7a5fd482c2093e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "sys/types.h"
#include <sys/stat.h>
#include "../../_syscall.h"

#ifndef S_IFIFO
#include "S_IFIFO.c"
#endif

int mkfifo(const char *path, mode_t mode)
{
	SYSCALL(mknod, int, -1, path, mode, S_IFIFO, 0, 0, 0);
}
/*
POSIX(1)
*/