We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS


Closes a file mapping.


#include <prio.h> 

PRStatus PR_CloseFileMap(PRFileMap *fmap);


The function has the following parameter:

The file mapping to be closed.


The function returns one of the following values:

  • If the memory region is successfully unmapped, PR_SUCCESS.
  • If the memory region is not successfully unmapped, PR_FAILURE. The error code can be retrieved via PR_GetError.


When a file mapping created with a call to PR_CreateFileMap is no longer needed, it should be closed with a call to PR_CloseFileMap.

Document Tags and Contributors

Contributors to this page: teoli, alecananian
Last updated by: teoli,