tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

pr_getinheritedfilemap.rst (696B)


      1 PR_GetInheritedFileMap
      2 ======================
      3 
      4 Imports a :ref:`PRFileMap` previously exported by my parent process via
      5 ``PR_CreateProcess``.
      6 
      7 
      8 Syntax
      9 ------
     10 
     11 .. code::
     12 
     13   #include <prshma.h>
     14 
     15   NSPR_API( PRFileMap *)
     16   PR_GetInheritedFileMap(
     17     const char *shmname
     18   );
     19 
     20 
     21 Parameter
     22 ~~~~~~~~~
     23 
     24 The function has the following parameter:
     25 
     26 ``shmname``
     27   The name provided to :ref:`PR_ProcessAttrSetInheritableFileMap`.
     28 
     29 
     30 Returns
     31 ~~~~~~~
     32 
     33 Pointer to :ref:`PRFileMap` or ``NULL`` on error.
     34 
     35 
     36 Description
     37 -----------
     38 
     39 :ref:`PR_GetInheritedFileMap` retrieves a PRFileMap object exported from
     40 its parent process via ``PR_CreateProcess``.
     41 
     42 .. note::
     43 
     44   **Note:** This function is not implemented.