diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/sys/stat/mkfifo.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sys/stat/mkfifo.c b/src/sys/stat/mkfifo.c index 2d475258..e34079e7 100644 --- a/src/sys/stat/mkfifo.c +++ b/src/sys/stat/mkfifo.c @@ -1,10 +1,14 @@ #include "sys/types.h" #include <sys/stat.h> +#include "../../_syscall.h" + +#ifndef S_IFIFO +#include "S_IFIFO.c" +#endif int mkfifo(const char *path, mode_t mode) { - (void)path; (void)mode; - return 0; + SYSCALL(mknod, int, -1, path, mode, S_IFIFO, 0, 0, 0); } /* POSIX(1) |
