aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/openat64.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-11-10 00:12:21 +0000
committerUlrich Drepper <drepper@redhat.com>2005-11-10 00:12:21 +0000
commit4973cbe599b0ddc97306eb8bb23bd2104c89a565 (patch)
treeefb1daac3e5f9e78859ff420722c824569d94fb8 /sysdeps/unix/sysv/linux/openat64.c
parent9f1016c0df0dc9c548700619af7c33f882fc76ed (diff)
downloadglibc-4973cbe599b0ddc97306eb8bb23bd2104c89a565.tar
glibc-4973cbe599b0ddc97306eb8bb23bd2104c89a565.tar.gz
glibc-4973cbe599b0ddc97306eb8bb23bd2104c89a565.tar.bz2
glibc-4973cbe599b0ddc97306eb8bb23bd2104c89a565.zip
* io/fcntl.h: Declare openat and openat64.
* io/Makefile (routines): Add openat and openat64. (tests): Add tst-openat. * io/Versions: Add openat and openat64 for GLIBC_2.4. * sysdeps/generic/openat.c: New file. * sysdeps/generic/openat64.c: New file. * sysdeps/unix/sysv/linux/openat.c: New file. * sysdeps/unix/sysv/linux/openat64.c: New file. * io/tst-openat.c: New file. * sysdeps/unix/sysv/linux/device-nrs.h: Add info for /dev/full.
Diffstat (limited to 'sysdeps/unix/sysv/linux/openat64.c')
-rw-r--r--sysdeps/unix/sysv/linux/openat64.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/openat64.c b/sysdeps/unix/sysv/linux/openat64.c
new file mode 100644
index 0000000000..9e7a2b3737
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/openat64.c
@@ -0,0 +1,4 @@
+#define OPENAT openat64
+#define MORE_OFLAGS O_LARGEFILE
+
+#include "openat.c"