source: rtems/doc/posix_users/memorymgmt.t @ e630235

4.115
Last change on this file since e630235 was 6449498, checked in by Joel Sherrill <joel.sherrill@…>, on 01/17/02 at 21:47:47

2001-01-17 Joel Sherrill <joel@…>

  • SUPPORT, LICENSE: New files.
  • Numerous files touched as part of merging the 4.5 branch onto the mainline development trunk and ensuring that the script that cuts snapshots and releases works on the documentation.
  • Property mode set to 100644
File size: 4.7 KB
Line 
1@c
2@c COPYRIGHT (c) 1988-2002.
3@c On-Line Applications Research Corporation (OAR).
4@c All rights reserved.
5@c
6@c $Id$
7@c
8
9@chapter Memory Management Manager
10
11@section Introduction
12
13The
14memory management manager is ...
15
16The directives provided by the memory management manager are:
17
18@itemize @bullet
19@item @code{mlockall} - Lock the Address Space of a Process
20@item @code{munlockall} - Unlock the Address Space of a Process
21@item @code{mlock} - Lock a Range of the Process Address Space
22@item @code{munlock} - Unlock a Range of the Process Address Space
23@item @code{mmap} - Map Process Addresses to a Memory Object
24@item @code{munmap} - Unmap Previously Mapped Addresses
25@item @code{mprotect} - Change Memory Protection
26@item @code{msync} - Memory Object Synchronization
27@item @code{shm_open} - Open a Shared Memory Object
28@item @code{shm_unlink} - Remove a Shared Memory Object
29@end itemize
30
31@section Background
32
33There is currently no text in this section.
34
35@section Operations
36
37There is currently no text in this section.
38
39@section Directives
40
41This section details the memory management manager's directives.
42A subsection is dedicated to each of this manager's directives
43and describes the calling sequence, related constants, usage,
44and status codes.
45
46@c
47@c
48@c
49@page
50@subsection mlockall - Lock the Address Space of a Process
51
52@findex mlockall
53@cindex  lock the address space of a process
54
55@subheading CALLING SEQUENCE:
56
57@ifset is-C
58@example
59int mlockall(
60);
61@end example
62@end ifset
63
64@ifset is-Ada
65@end ifset
66
67@subheading STATUS CODES:
68
69@table @b
70@item E
71The
72
73@end table
74
75@subheading DESCRIPTION:
76
77@subheading NOTES:
78
79@c
80@c
81@c
82@page
83@subsection munlockall - Unlock the Address Space of a Process
84
85@findex munlockall
86@cindex  unlock the address space of a process
87
88@subheading CALLING SEQUENCE:
89
90@ifset is-C
91@example
92int munlockall(
93);
94@end example
95@end ifset
96
97@ifset is-Ada
98@end ifset
99
100@subheading STATUS CODES:
101
102@table @b
103@item E
104The
105
106@end table
107
108@subheading DESCRIPTION:
109
110@subheading NOTES:
111
112@c
113@c
114@c
115@page
116@subsection mlock - Lock a Range of the Process Address Space
117
118@findex mlock
119@cindex  lock a range of the process address space
120
121@subheading CALLING SEQUENCE:
122
123@ifset is-C
124@example
125int mlock(
126);
127@end example
128@end ifset
129
130@ifset is-Ada
131@end ifset
132
133@subheading STATUS CODES:
134
135@table @b
136@item E
137The
138
139@end table
140
141@subheading DESCRIPTION:
142
143@subheading NOTES:
144
145@c
146@c
147@c
148@page
149@subsection munlock - Unlock a Range of the Process Address Space
150
151@findex munlock
152@cindex  unlock a range of the process address space
153
154@subheading CALLING SEQUENCE:
155
156@ifset is-C
157@example
158int munlock(
159);
160@end example
161@end ifset
162
163@ifset is-Ada
164@end ifset
165
166@subheading STATUS CODES:
167
168@table @b
169@item E
170The
171
172@end table
173
174@subheading DESCRIPTION:
175
176@subheading NOTES:
177
178@c
179@c
180@c
181@page
182@subsection mmap - Map Process Addresses to a Memory Object
183
184@findex mmap
185@cindex  map process addresses to a memory object
186
187@subheading CALLING SEQUENCE:
188
189@ifset is-C
190@example
191int mmap(
192);
193@end example
194@end ifset
195
196@ifset is-Ada
197@end ifset
198
199@subheading STATUS CODES:
200
201@table @b
202@item E
203The
204
205@end table
206
207@subheading DESCRIPTION:
208
209@subheading NOTES:
210
211@c
212@c
213@c
214@page
215@subsection munmap - Unmap Previously Mapped Addresses
216
217@findex munmap
218@cindex  unmap previously mapped addresses
219
220@subheading CALLING SEQUENCE:
221
222@ifset is-C
223@example
224int munmap(
225);
226@end example
227@end ifset
228
229@ifset is-Ada
230@end ifset
231
232@subheading STATUS CODES:
233
234@table @b
235@item E
236The
237
238@end table
239
240@subheading DESCRIPTION:
241
242@subheading NOTES:
243
244@c
245@c
246@c
247@page
248@subsection mprotect - Change Memory Protection
249
250@findex mprotect
251@cindex  change memory protection
252
253@subheading CALLING SEQUENCE:
254
255@ifset is-C
256@example
257int mprotect(
258);
259@end example
260@end ifset
261
262@ifset is-Ada
263@end ifset
264
265@subheading STATUS CODES:
266
267@table @b
268@item E
269The
270
271@end table
272
273@subheading DESCRIPTION:
274
275@subheading NOTES:
276
277@c
278@c
279@c
280@page
281@subsection msync - Memory Object Synchronization
282
283@findex msync
284@cindex  memory object synchronization
285
286@subheading CALLING SEQUENCE:
287
288@ifset is-C
289@example
290int msync(
291);
292@end example
293@end ifset
294
295@ifset is-Ada
296@end ifset
297
298@subheading STATUS CODES:
299
300@table @b
301@item E
302The
303
304@end table
305
306@subheading DESCRIPTION:
307
308@subheading NOTES:
309
310@c
311@c
312@c
313@page
314@subsection shm_open - Open a Shared Memory Object
315
316@findex shm_open
317@cindex  open a shared memory object
318
319@subheading CALLING SEQUENCE:
320
321@ifset is-C
322@example
323int shm_open(
324);
325@end example
326@end ifset
327
328@ifset is-Ada
329@end ifset
330
331@subheading STATUS CODES:
332
333@table @b
334@item E
335The
336
337@end table
338
339@subheading DESCRIPTION:
340
341@subheading NOTES:
342
343@c
344@c
345@c
346@page
347@subsection shm_unlink - Remove a Shared Memory Object
348
349@findex shm_unlink
350@cindex  remove a shared memory object
351
352@subheading CALLING SEQUENCE:
353
354@ifset is-C
355@example
356int shm_unlink(
357);
358@end example
359@end ifset
360
361@ifset is-Ada
362@end ifset
363
364@subheading STATUS CODES:
365
366@table @b
367@item E
368The
369
370@end table
371
372@subheading DESCRIPTION:
373
374@subheading NOTES:
375
Note: See TracBrowser for help on using the repository browser.