Bug 1885489 - Part 9: Add SnapshotIterator::readObject(). r=iain
[gecko.git] / docs / nspr / reference / pr_processattrsetinheritablefilemap.rst
blobc89f2740eb8725056839e811faf1c11a3bf96a2a
1 PR_ProcessAttrSetInheritableFileMap
2 ===================================
4 Prepare filemap for export to my children processes via
5 ``PR_CreateProcess``.
8 Syntax
9 ------
11 .. code::
13    #include <prshma.h>
15    NSPR_API(PRStatus)
16    PR_ProcessAttrSetInheritableFileMap(
17      PRProcessAttr   *attr,
18      PRFileMap       *fm,
19      const char      *shmname
20    );
23 Parameters
24 ~~~~~~~~~~
26 The function has the following parameters:
28 ``attr``
29    Pointer to a PRProcessAttr structure used to pass data to
30    PR_CreateProcess.
31 ``fm``
32    Pointer to a PRFileMap structure to be passed to the child process.
33 ``shmname``
34    Pointer to the name for the PRFileMap; used by child.
37 Returns
38 ~~~~~~~
40 :ref:`PRStatus`
43 Description
44 ~~~~~~~~~~~
46 :ref:`PR_ProcessAttrSetInheritableFileMap` connects the :ref:`PRFileMap` to
47 :ref:`PRProcessAttr` with ``shmname``. A subsequent call to
48 ``PR_CreateProcess`` makes the :ref:`PRFileMap` importable by the child
49 process.
51 .. note::
53    **Note:** This function is not implemented.