aboutsummaryrefslogtreecommitdiff
path: root/src/stat/mkfifoat.c
blob: dae33257c6d2fa5c4214a98407d37c5125d5ab0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <sys/stat.h>

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


#ifdef TEST
int
main(void) {
	return 0;
}
#endif