minix3/lib/libc/sys/mkfifo.c

12 lines
202 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#include <sys/cdefs.h>
#include "namespace.h"
#include <lib.h>
#include <sys/stat.h>
#include <unistd.h>
int mkfifo(const char *name, mode_t mode)
{
return mknod(name, mode | S_IFIFO, (dev_t) 0);
}