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