summaryrefslogtreecommitdiff
path: root/src/stat/mknodat.c
blob: b5687e4706c4cf9d4de8337b180c747466050e48 (plain) (blame)
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 syscall4(__NR_mknodat, fd, (long)path, mode, dev & 0xffff);
}