some coverity fixes.
[minix.git] / lib / libc / sys-minix / mkfifo.c
blob0c24840296ecad7ed2f30b89ba18e8845cf0023d
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <sys/stat.h>
6 #include <unistd.h>
8 #ifdef __weak_alias
9 __weak_alias(mkfifo, _mkfifo)
10 #endif
12 int mkfifo(const char *name, mode_t mode)
14 return mknod(name, mode | S_IFIFO, (dev_t) 0);