summaryrefslogtreecommitdiff
path: root/src/sys/stat/mkfifo.c
blob: 13469d6ff52e39a789a2dd42099a45036197feeb (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)
*/