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