diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-22 00:37:12 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-22 00:37:12 -0400 |
commit | 1fd0f6e31f157cc9be115c29f0c537d8a225cc86 (patch) | |
tree | 61e99e768aab844bfe14b980ac43c8f7d08e9441 | |
parent | 76f2bcc7d673d0a1b06ea4b2545b4096979ad518 (diff) | |
download | musl-1fd0f6e31f157cc9be115c29f0c537d8a225cc86.tar.gz musl-1fd0f6e31f157cc9be115c29f0c537d8a225cc86.tar.bz2 musl-1fd0f6e31f157cc9be115c29f0c537d8a225cc86.tar.xz musl-1fd0f6e31f157cc9be115c29f0c537d8a225cc86.zip |
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.
-rw-r--r-- | src/stat/__xstat.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/stat/__xstat.c b/src/stat/__xstat.c index 8138cbe8..73c873ae 100644 --- a/src/stat/__xstat.c +++ b/src/stat/__xstat.c @@ -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); +} |