blob: becbb56f363cbc68f8da1311be32085d3e4558a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "fifo.h"
#include <sys/stat.h>
#include <sys/types.h>
#ifdef USE_CONFIG
#include "fehsqm-config.h"
#endif
#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
|