blob: 19d6370e649134d07cdf16cc283da3f623218131 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Ben Cheng655a7c02013-10-16 16:09:24 -07007#ifndef FADVISE_H_INCLUDED
8#define FADVISE_H_INCLUDED
9#define POSIX_FADV_NORMAL 0
10#define POSIX_FADV_RANDOM 1
Ben Cheng655a7c02013-10-16 16:09:24 -070011#define POSIX_FADV_SEQUENTIAL 2
12#define POSIX_FADV_WILLNEED 3
13#ifdef __s390x__
14#define POSIX_FADV_DONTNEED 6
Ben Cheng655a7c02013-10-16 16:09:24 -070015#define POSIX_FADV_NOREUSE 7
16#else
17#define POSIX_FADV_DONTNEED 4
18#define POSIX_FADV_NOREUSE 5
Ben Cheng655a7c02013-10-16 16:09:24 -070019#endif
Nick Kralevicha67e4de2013-01-14 11:28:26 -080020#endif