blob: 219347afe34c00cd9f5b814996e0df05078024d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 1 /* force definition of S_IFIFO */
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include "_syscall.h"
int mkfifo(const char *path, mode_t mode)
{
SYSCALL(mknod, int, -1, path, mode, S_IFIFO, 0, 0, 0);
}
/*
POSIX(1)
*/
|