blob: f2da11ef2544994e9183ee37ee6682dcd634bf96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "fifo.h"
#include <sys/stat.h>
#include <sys/types.h>
#ifdef HASMKFIFO
int fifo_make(char *fn, int mode)
{
return mkfifo(fn, mode);
}
#else
int fifo_make(char *fn, int mode)
{
return mknod(fn, S_IFIFO | mode, 0);
}
#endif
|