summaryrefslogtreecommitdiff
path: root/src/stat/mknodat.c
blob: 63cacd58412420848a35a8cf7dc4f9c28d175c78 (plain)
1
2
3
4
5
6
7
#include <sys/stat.h>
#include "syscall.h"

int mknodat(int fd, const char *path, mode_t mode, dev_t dev)
{
	return syscall(SYS_mknodat, fd, path, mode, dev & 0xffff);
}