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