summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-23 23:21:47 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-23 23:21:47 +0000
commitce9d89b38b93fd415fca5c9f96c720a73e354e9d (patch)
tree90b49ab2a145dde15bc15efa26e5dc4d743347c6 /sysdeps/unix/sysv
parentd606f528f7a551fd8693644086d9987375b4c491 (diff)
downloadglibc-ce9d89b38b93fd415fca5c9f96c720a73e354e9d.tar.gz
glibc-ce9d89b38b93fd415fca5c9f96c720a73e354e9d.tar.xz
glibc-ce9d89b38b93fd415fca5c9f96c720a73e354e9d.zip
(O_DIRECTORY, O_NOFOLLOW): New macros.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/bits/fcntl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
index 2fa0cd8b20..b86c65d993 100644
--- a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h
@@ -37,6 +37,8 @@
 #define O_NONBLOCK	0x4000
 #define O_NDELAY	(0x0004 | O_NONBLOCK)
 #define O_NOCTTY	0x8000	/* not fcntl */
+#define O_DIRECTORY	0x10000 /* must be a directory */
+#define O_NOFOLLOW	0x20000 /* don't follow links */
 
 /* XXX missing */
 #define O_LARGEFILE	0