=== modified file 'LSB-Core-generic/LSB-Core-generic.txt' @@ -8904,7 +8924,10 @@ __wprintf_chk -- convert formatted wide-character output, with stack checking - __xmknod -- make block or character special file + __xmknod -- make a special file + __xmknodat -- make a special file relative to a directory file + descriptor + __xpg_basename -- return the last component of a file name __xpg_sigpause -- remove a signal from the signal mask and suspend the thread @@ -12143,23 +12215,25 @@ Name - __xmknod -- make block or character special file + __xmknod -- make a special file Synopsis + #include + int __xmknod(int ver, const char * path, mode_t mode, dev_t * dev); Description - The __xmknod() function shall implement the mknod() interface - from ISO POSIX (2003). - - The value of ver shall be 1 or the behavior of __xmknod() is - undefined. - - __xmknod(1, path, mode, dev) shall behave as mknod(path, mode, - dev) as specified by ISO POSIX (2003). + 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 ISO POSIX (2003). The __xmknod() function is not in the source standard; it is only in the binary standard. @@ -12265,19 +12371,22 @@ Description The functions __xstat(), __lxstat(), and __fxstat() shall - implement the ISO POSIX (2003) functions stat(), lstat(), and - fstat() respectively. - - ver shall be 3 or the behavior of these functions is undefined. - - __xstat(3, path, stat_buf) shall implement stat(path, stat_buf) - as specified by ISO POSIX (2003). - - __lxstat(3, path, stat_buf) shall implement lstat(path, - stat_buf) as specified by ISO POSIX (2003). - - __fxstat(3, fildes, stat_buf) shall implement fstat(fildes, - stat_buf) as specified by ISO POSIX (2003). + implement the functions stat(), lstat(), and fstat() + respectively. + + The behavior of these functions for values of ver other than + _STAT_VER is undefined. See Data Definitions in the + architecture specific part of this specification for the + correct value of _STAT_VER. + + __xstat(_STAT_VER, path, stat_buf) shall implement stat(path, + stat_buf) as specified by ISO POSIX (2003). + + __lxstat(_STAT_VER, path, stat_buf) shall implement lstat(path, + stat_buf) as specified by ISO POSIX (2003). + + __fxstat(_STAT_VER, fildes, stat_buf) shall implement + fstat(fildes, stat_buf) as specified by ISO POSIX (2003). __xstat(), __lxstat(), and __fxstat() are not in the source standard; they are only in the binary standard. @@ -12308,19 +12417,22 @@ Description The functions __xstat64(), __lxstat64(), and __fxstat64() shall - implement the Large File Support functions stat64(), lstat64(), - and fstat64() respectively. - - ver shall be 3 or the behavior of these functions is undefined. - - __xstat64(3, path, stat_buf) shall behave as stat(path, - stat_buf) as specified by Large File Support. - - __lxstat64(3, path, stat_buf) shall behave as lstat(path, - stat_buf) as specified by Large File Support. - - __fxstat64(3, fildes, stat_buf) shall behave as fstat(fildes, - stat_buf) as specified by Large File Support. + implement the functions stat64(), lstat64(), and fstat64() + respectively. + + The behavior of these functions for values of ver other than + _STAT_VER is undefined. See Data Definitions in the + architecture specific part of this specification for the + correct value of _STAT_VER. + + __xstat64(_STAT_VER, path, stat_buf) shall behave as stat(path, + stat_buf) as specified by Large File Support. + + __lxstat64(_STAT_VER, path, stat_buf) shall behave as + lstat(path, stat_buf) as specified by Large File Support. + + __fxstat64(_STAT_VER, fildes, stat_buf) shall behave as + fstat(fildes, stat_buf) as specified by Large File Support. __xstat64(), __lxstat64(), and __fxstat64() are not in the source standard; they are only in the binary standard.