summaryrefslogblamecommitdiffstats
path: root/posix1003-1/memory_managment.rst
blob: de7389fe4412fbab41c9308a13abaa20f8445208 (plain) (tree)
1
2

                                                































                                           







                                       





                                 
                                   

























                                                   
                                     





                             
                                       






                                                            
.. comment SPDX-License-Identifier: CC-BY-SA-4.0

Memory Management
#################

Memory Locking Functions
========================

Lock/Unlock the Address Space of a Process
------------------------------------------

.. code:: c

    mlockall(), Function, Unimplemented
    munlockall(), Function, Unimplemented
    MCL_CURRENT, Constant, Unimplemented
    MCL_FUTURE, Constant,  Unimplemented

Lock/Unlock a Rand of Process Address Space
-------------------------------------------

.. code:: c

    mlock(), Function, Unimplemented
    munlock(), Function, Unimplemented

Memory Mapping Functions
========================

Map Process Addresses to a Memory Object
----------------------------------------

.. code:: c

    mmap(), Function, Implemented
    PROT_READ, Constant,  Implemented
    PROT_WRITE, Constant,  Implemented
    PROT_EXEC, Constant,  Implemented
    PROT_NONE, Constant,  Implemented
    MAP_SHARED, Constant,  Implemented
    MAP_PRIVATE, Constant,  Implemented
    MAP_FIXED, Constant,  Implemented

Unmap Previously Mapped Addresses
---------------------------------

.. code:: c

    munmap(), Function, Implemented

Change Memory Protection
------------------------

.. code:: c

    mprotect(), Function, Unimplemented

Memory Object Synchronization
-----------------------------

.. code:: c

    msync(), Function, Unimplemented, Unimplemented
    MS_ASYNC, Constant, Unimplemented
    MS_SYNC, Constant,  Unimplemented
    MS_INVALIDATE, Constant,  Unimplemented

Shared Memory Functions
=======================

Open a Shared Memory Object
---------------------------

.. code:: c

    shm_open(), Function, Implemented

Remove a Shared Memory Object
-----------------------------

.. code:: c

    shm_unlink(), Function, Implemented

.. COMMENT: COPYRIGHT (c) 1988-2002.

.. COMMENT: On-Line Applications Research Corporation (OAR).

.. COMMENT: All rights reserved.