summaryrefslogtreecommitdiff
path: root/src/stat/mkfifoat.c
blob: d3a1f9708775e9e5835b6c055315bac43ba0a09a (plain)
1
2
3
4
5
6
#include <sys/stat.h>

int mkfifoat(int fd, const char *path, mode_t mode)
{
	return mknodat(fd, path, mode | S_IFIFO, 0);
}