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