aboutsummaryrefslogtreecommitdiff
path: root/src/stat/mkfifo.c
blob: 60efcf73f221d8deb238d0cb27e7c91b58bdcdf3 (plain)
1
2
3
4
5
6
#include <sys/stat.h>

int mkfifo(const char *path, mode_t mode)
{
	return mknod(path, mode | S_IFIFO, 0);
}