Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ****************************************************************************
     11  ****************************************************************************/
     12 #ifndef _LINUX_FCNTL_H
     13 #define _LINUX_FCNTL_H
     14 
     15 #include <asm/fcntl.h>
     16 
     17 #define F_SETLEASE (F_LINUX_SPECIFIC_BASE+0)
     18 #define F_GETLEASE (F_LINUX_SPECIFIC_BASE+1)
     19 
     20 #define F_NOTIFY (F_LINUX_SPECIFIC_BASE+2)
     21 
     22 #define DN_ACCESS 0x00000001
     23 #define DN_MODIFY 0x00000002
     24 #define DN_CREATE 0x00000004
     25 #define DN_DELETE 0x00000008
     26 #define DN_RENAME 0x00000010
     27 #define DN_ATTRIB 0x00000020
     28 #define DN_MULTISHOT 0x80000000
     29 
     30 #define AT_FDCWD -100
     31 #define AT_SYMLINK_NOFOLLOW 0x100
     32 #define AT_REMOVEDIR 0x200
     33 #define AT_SYMLINK_FOLLOW 0x400
     34 
     35 #endif
     36