4 int mknod(const char *path, mode_t mode, dev_t dev)
6 /* since dev_t is system-specific anyway we defer to the idiotic
7 * legacy-compatible bitfield mapping of the type.. at least we've
8 * made it large enough to leave space for future expansion.. */
9 return syscall(SYS_mknod, path, mode, dev & 0xffff);