/* * Copyright 2004-2009, Axel Dörfler, axeld@pinc-software.de. * Distributed under the terms of the MIT License. */ #include #include #include #include #include int mkfifo(const char *path, mode_t mode) { RETURN_AND_SET_ERRNO(_kern_create_fifo(-1, path, mode)); } int mkfifoat(int fd, const char *path, mode_t mode) { RETURN_AND_SET_ERRNO(_kern_create_fifo(fd, path, mode)); }