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); }