mirror of
https://git.musl-libc.org/git/musl
synced 2025-02-05 04:44:05 +03:00
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
@ -25,3 +25,13 @@ LFS64(__fxstat);
|
||||
LFS64(__fxstatat);
|
||||
LFS64(__lxstat);
|
||||
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…
x
Reference in New Issue
Block a user