Prepare filemap for export to my children processes via PR_CreateProcess
.
#include <prshma.h> NSPR_API(PRStatus) PR_ProcessAttrSetInheritableFileMap( PRProcessAttr *attr, PRFileMap *fm, const char *shmname );
The function has the following parameters:
attr
fm
shmname
PR_ProcessAttrSetInheritableFileMap
connects the PRFileMap
to PRProcessAttr
with shmname
. A subsequent call to PR_CreateProcess
makes the PRFileMap
importable by the child process.
Note: This function is not implemented.