libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / system / libroot / posix / sys / mkfifo.c
blob62fd7a34e09c34ce1c7019b0c1330c86dea36b5e
1 /*
2 * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <errno.h>
8 #include <sys/stat.h>
10 #include <errno_private.h>
11 #include <syscalls.h>
12 #include <syscall_utils.h>
15 int
16 mkfifo(const char *path, mode_t mode)
18 RETURN_AND_SET_ERRNO(_kern_create_fifo(-1, path, mode));
22 int
23 mkfifoat(int fd, const char *path, mode_t mode)
25 RETURN_AND_SET_ERRNO(_kern_create_fifo(fd, path, mode));