ver must be 1 or the behavior is undefined.
__xmknod(1, path, mode, dev) has the same specification as mknod(path, mode, dev).
Note that the of dev_t is not the same as the argument that the kernel syscall uses (TODO: need to document what dev_t is).
__xmknod is not in the source standard; it is only in the binary standard.