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 FADVISE_H_INCLUDED
     13 #define FADVISE_H_INCLUDED
     14 
     15 #define POSIX_FADV_NORMAL 0
     16 #define POSIX_FADV_RANDOM 1
     17 #define POSIX_FADV_SEQUENTIAL 2
     18 #define POSIX_FADV_WILLNEED 3
     19 
     20 #ifdef __s390x__
     21 #define POSIX_FADV_DONTNEED 6
     22 #define POSIX_FADV_NOREUSE 7
     23 #else
     24 #define POSIX_FADV_DONTNEED 4
     25 #define POSIX_FADV_NOREUSE 5
     26 #endif
     27 
     28 #endif
     29