summaryrefslogtreecommitdiff
path: root/src/sys/stat/mkfifo.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 16:46:49 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 16:46:49 -0500
commitcb7967b40d4a9b6e17003b8518c7cd49d29108ab (patch)
tree5b4c7cbe991ae5ddee64afc152150dc1b739be8d /src/sys/stat/mkfifo.c
parent2bc46bd54cc8cdcd7647461f2d76384266f2a0e4 (diff)
purge last of posix-specific headers
Diffstat (limited to 'src/sys/stat/mkfifo.c')
-rw-r--r--src/sys/stat/mkfifo.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/sys/stat/mkfifo.c b/src/sys/stat/mkfifo.c
deleted file mode 100644
index 219347af..00000000
--- a/src/sys/stat/mkfifo.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef _XOPEN_SOURCE
-#define _XOPEN_SOURCE 1 /* force definition of S_IFIFO */
-#endif
-
-#include <sys/types.h>
-#include <sys/stat.h>
-#include "_syscall.h"
-
-int mkfifo(const char *path, mode_t mode)
-{
- SYSCALL(mknod, int, -1, path, mode, S_IFIFO, 0, 0, 0);
-}
-
-/*
-POSIX(1)
-*/