minix/lib/posix/_mkfifo.c
2005-04-21 14:53:53 +00:00

12 lines
219 B
C
Executable file

#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);
}