Rev 1505 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1505 | Rev 1547 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | #ifndef __libc_MMAN_H_ |
29 | #ifndef __libc_MMAN_H_ |
30 | #define __libc_MMAN_H_ |
30 | #define __libc_MMAN_H_ |
31 | 31 | ||
32 | #include <as.h> |
32 | #include <as.h> |
33 | 33 | ||
- | 34 | #define MAP_FAILED ((void *) -1) |
|
- | 35 | ||
34 | #define MAP_SHARED (1 << 0) |
36 | #define MAP_SHARED (1 << 0) |
35 | #define MAP_PRIVATE (1 << 1) |
37 | #define MAP_PRIVATE (1 << 1) |
36 | #define MAP_FIXED (1 << 2) |
38 | #define MAP_FIXED (1 << 2) |
37 | #define MAP_ANONYMOUS (1 << 3) |
39 | #define MAP_ANONYMOUS (1 << 3) |
38 | 40 |