projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76f2bcc
)
add __xmknod and __xmknodat abi-compat functions
author
Rich Felker
<dalias@aerifal.cx>
Sun, 22 Jun 2014 04:37:12 +0000
(
00:37
-0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 22 Jun 2014 04:37:12 +0000
(
00:37
-0400)
these are put alongside the similar functions for __xstat, etc. in
__xstat.c to avoid bloating the number of source files.
src/stat/__xstat.c
patch
|
blob
|
history
diff --git
a/src/stat/__xstat.c
b/src/stat/__xstat.c
index 8138cbe8f53d94df2688ffd6b5c90d983e713bdf..73c873aea226a1128b65c8d0719d5b06d3415ca9 100644
(file)
--- 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);
+}