aboutsummaryrefslogtreecommitdiff
path: root/libc/include/sys/mman.yaml
blob: f9ab0c1001c3d429ea78490ba98a84d7e4111c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
header: sys/mman.h
header_template: mman.h.def
macros: []
types:
  - type_name: mode_t
  - type_name: size_t
  - type_name: off_t
enums: []
objects: []
functions:
  - name: madvise
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
  - name: mincore
    standards:
      - Linux
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: unsigned char *
  - name: mlock
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
  - name: mlock2
    standards:
      - Linux
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: unsigned int
  - name: mlockall
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: int
  - name: mmap
    standards:
      - POSIX
    return_type: void *
    arguments:
      - type: void *
      - type: size_t
      - type: int
      - type: int
      - type: int
      - type: off_t
  - name: mremap
    standards:
      - POSIX
    return_type: void *
    arguments:
      - type: void *
      - type: size_t
      - type: size_t
      - type: int
      - type: '...'
  - name: mprotect
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
  - name: msync
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
  - name: munlock
    standards: POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
  - name: munlockall
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void
  - name: munmap
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
  - name: pkey_alloc
    standards:
      - Linux
    return_type: int
    arguments:
      - type: unsigned int
      - type: unsigned int
  - name: pkey_free
    standards:
      - Linux
    return_type: int
    arguments:
      - type: int
  - name: pkey_get
    standards:
      - GNU
    return_type: int
    arguments:
      - type: int
  - name: pkey_mprotect
    standards:
      - Linux
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
      - type: int
  - name: pkey_set
    standards:
      - GNU
    return_type: int
    arguments:
      - type: int
      - type: unsigned int
  - name: posix_madvise
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
  - name: remap_file_pages
    standards:
      - Linux
    return_type: int
    arguments:
      - type: void *
      - type: size_t
      - type: int
      - type: size_t
      - type: int
  - name: shm_open
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: const char *
      - type: int
      - type: mode_t
  - name: shm_unlink
    standards:
      - POSIX
    return_type: int
    arguments:
      - type: const char *