Explorar el Código

sync with glibc, add some missing defines

These are already used by some applications, so add it.
Waldemar Brodkorb hace 10 años
padre
commit
afe0dd3c88
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      include/fcntl.h

+ 5 - 0
include/fcntl.h

@@ -63,6 +63,11 @@ __BEGIN_DECLS
 # define AT_REMOVEDIR		0x200	/* Remove directory instead of
 					   unlinking file.  */
 # define AT_SYMLINK_FOLLOW	0x400	/* Follow symbolic links.  */
+# ifdef __USE_GNU
+#  define AT_NO_AUTOMOUNT       0x800   /* Suppress terminal automount
+                                           traversal.  */
+#  define AT_EMPTY_PATH         0x1000  /* Allow empty relative pathname.  */
+# endif
 # define AT_EACCESS		0x200	/* Test access permitted for
 					   effective IDs, not real IDs.  */
 #endif