__xmknodat -- make a special file relative to a directory file descriptor


#include <sys/stat.h>

int __xmknodat(int ver, int dirfd, const char * path, mode_t path, dev_t * dev);


The __xmknodat() function shall implement the mknodat() function. The behavior of __xmknodat() for values of ver other than _MKNOD_VER is undefined. See Data Definitions in the architecture specific part of this specification for the correct value of _MKNOD_VER.

__xmknodat(_MKNOD_VER, dirfd, path, mode, dev) shall behave as mknodat(dirfd, path, mode, dev) as specified by POSIX 1003.1-2008 (ISO/IEC 9945-2009).

The __xmknodat() function is not in the source standard; it is only in the binary standard.

Note: The mknodat() function is not in the binary standard; it is only in the source standard.