summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-02 21:55:54 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-02 21:55:54 +0000
commite186c703dc073b8be95d0bf893bb8ebb127fe02b (patch)
treebcb3f09e881383811b00aa8359cb2f71391b116b /include/sys
parent975407d507f2e8ad6cbf366e22e0f41d598ddcee (diff)
downloadglibc-e186c703dc073b8be95d0bf893bb8ebb127fe02b.tar.gz
glibc-e186c703dc073b8be95d0bf893bb8ebb127fe02b.tar.xz
glibc-e186c703dc073b8be95d0bf893bb8ebb127fe02b.zip
* io/Makefile (routines): Add mknodat, xmknodat, mkdirat, mkfifoat.
	(static-only-routines): Add mknodat.
	* io/Versions [GLIBC_2.4]: Add mkdirat, mkfifoat, __xmknodat.
	* io/sys/stat.h: Declare mkditat, mknodat, mkfifoat, __xmknodat.
	Define mknodat inline function.
	* include/sys/stat.h: Add hidden proto for __xmknodat.
	* sysdeps/generic/mkdirat.c: New file.
	* sysdeps/generic/mkfifoat.c: New file.
	* sysdeps/generic/mknodat.c: New file.
	* sysdeps/generic/xmknodat.c: New file.
	* sysdeps/unix/mkfifoat.c: New file.
	* sysdeps/unix/sysv/linux/mkdirat.c: New file.
	* sysdeps/unix/sysv/linux/xmknodat.c: New file.

	* sysdeps/generic/xmknod.c: Add one more parameter check.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 2e2566d9ef..4a4d05d938 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -29,6 +29,7 @@ extern __inline__ int __mknod (__const char *__path, __mode_t __mode,
 {
   return __xmknod (_MKNOD_VER, __path, __mode, &__dev);
 }
+libc_hidden_proto (__xmknodat)
 
 
 /* The `stat', `fstat', `lstat' functions have to be handled special since