]> git.ipfire.org Git - thirdparty/glibc.git/blob - conform/data/sys/mman.h-data
First steps to get conformtest fully working
[thirdparty/glibc.git] / conform / data / sys / mman.h-data
1 #if !defined ISO && !defined ISO99 && !defined ISO11
2 constant PROT_READ
3 constant PROT_WRITE
4 constant PROT_EXEC
5 constant PROT_NONE
6
7 constant MAP_SHARED
8 constant MAP_PRIVATE
9 constant MAP_FIXED
10
11 constant MS_ASYNC
12 constant MS_SYNC
13 constant MS_INVALIDATE
14
15 constant MCL_CURRENT
16 constant MCL_FUTURE
17
18 constant MAP_FAILED
19
20 constant POSIX_MADV_NORMAL
21 constant POSIX_MADV_SEQUENTIAL
22 constant POSIX_MADV_RANDOM
23 constant POSIX_MADV_WILLNEED
24 constant POSIX_MADV_DONTNEED
25
26 optional-constant POSIX_TYPED_MEM_ALLOCATE
27 optional-constant POSIX_TYPED_MEM_ALLOCATE_CONTIG
28 optional-constant POSIX_TYPED_MEM_MAP_ALLOCATABLE
29
30 type size_t
31 type off_t
32 type mode_t
33
34 optional-type {struct posix_typedmem_info}
35 optional-element {struct posix_typedmem_info} size_t posix_tmi_length
36
37 function int mlock (const void*, size_t)
38 function int mlockall (int)
39 function {void*} mmap (void*, size_t, int, int, int, off_t)
40 function int mprotect (void*, size_t, int)
41 function int msync (void*, size_t, int)
42 function int munlock (const void*, size_t)
43 function int munlockall (void)
44 function int munmap (void*, size_t)
45 function int posix_madvise (void*, size_t, int)
46 optional-function int posix_mem_offset (const void*, size_t, off_t*, size_t*, int*)
47 optional-function int posix_typed_mem_get_info (int, struct posix_typed_mem_info*)
48 optional-function int posix_typed_mem_open (const char*, int, int)
49 function int shm_open (const char*, int, mode_t)
50 function int shm_unlink (const char*)
51
52 allow shm_*
53 allow MAP_*
54 allow MCL_*
55 allow MS_*
56 allow PROT_*
57 allow *_t
58 #endif