minix/lib/posix/_mkfifo.c
2005-06-23 11:07:31 +00:00

12 lines
224 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;
_mnx_Mode_t mode;
{
return mknod(name, mode | S_IFIFO, (Dev_t) 0);
}