add __xmknod and __xmknodat abi-compat functions
these are put alongside the similar functions for __xstat, etc. in __xstat.c to avoid bloating the number of source files.
This commit is contained in:
parent
76f2bcc7d6
commit
1fd0f6e31f
1 changed files with 10 additions and 0 deletions
|
|
@ -25,3 +25,13 @@ LFS64(__fxstat);
|
||||||
LFS64(__fxstatat);
|
LFS64(__fxstatat);
|
||||||
LFS64(__lxstat);
|
LFS64(__lxstat);
|
||||||
LFS64(__xstat);
|
LFS64(__xstat);
|
||||||
|
|
||||||
|
int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev)
|
||||||
|
{
|
||||||
|
return mknod(path, mode, *dev);
|
||||||
|
}
|
||||||
|
|
||||||
|
int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev)
|
||||||
|
{
|
||||||
|
return mknodat(fd, path, mode, *dev);
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue