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