__xmknod

Name

__xmknod -- make a special file

Synopsis

#include <sys/stat.h>

int __xmknod(int ver, const char * path, mode_t mode, dev_t * dev);

Description

The __xmknod() function shall implement the mknod() interface. The behavior of __xmknod() 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.

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

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

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