13 lines
219 B
C
13 lines
219 B
C
|
#include <lib.h>
|
||
|
#define mkfifo _mkfifo
|
||
|
#define mknod _mknod
|
||
|
#include <sys/stat.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
PUBLIC int mkfifo(name, mode)
|
||
|
_CONST char *name;
|
||
|
Mode_t mode;
|
||
|
{
|
||
|
return mknod(name, mode | S_IFIFO, (Dev_t) 0);
|
||
|
}
|