minix/lib/posix/_mkfifo.c

13 lines
224 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include <lib.h>
#define mkfifo _mkfifo
#define mknod _mknod
#include <sys/stat.h>
#include <unistd.h>
PUBLIC int mkfifo(name, mode)
_CONST char *name;
_mnx_Mode_t mode;
2005-04-21 16:53:53 +02:00
{
return mknod(name, mode | S_IFIFO, (Dev_t) 0);
}