1#include <sys/stat.h> 2 3int mkfifoat(int fd, const char *path, mode_t mode) 4{ 5 return mknodat(fd, path, mode | S_IFIFO, 0); 6} 7