7 lines
109 B
C
7 lines
109 B
C
|
#include <sys/stat.h>
|
||
|
|
||
|
int mkfifo(const char *path, mode_t mode)
|
||
|
{
|
||
|
return mknod(path, mode | S_IFIFO, 0);
|
||
|
}
|