implement posix_madvise

Bug: 18472477
Change-Id: I8183de6c281acf69ed5f7f88351b056b9827b162
This commit is contained in:
Yabin Cui
2014-11-25 20:17:27 -08:00
parent 230005c4bd
commit 5afae64a1b
6 changed files with 98 additions and 4 deletions

View File

@@ -32,7 +32,7 @@
/* Any constant values here other than -1 or 200809L are explicitly specified by POSIX.1-2008. */
/* Keep it sorted. */
#define _POSIX_ADVISORY_INFO -1 /* posix_madvise() not implemented */
#define _POSIX_ADVISORY_INFO 200809L
#define _POSIX_AIO_LISTIO_MAX 2
#define _POSIX_AIO_MAX 1
#define _POSIX_ARG_MAX 4096