From ce9d89b38b93fd415fca5c9f96c720a73e354e9d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 23 Oct 1998 23:21:47 +0000 Subject: [PATCH] (O_DIRECTORY, O_NOFOLLOW): New macros. --- sysdeps/unix/sysv/linux/sparc/bits/fcntl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h b/sysdeps/unix/sysv/linux/sparc/bits/fcntl.h index 2fa0cd8..b86c65d 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 -- 2.7.4