提交 1fd0f6e3 编写于 作者: R Rich Felker

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.
上级 76f2bcc7
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册