Closes a file mapping.
#include <prio.h> PRStatus PR_CloseFileMap(PRFileMap *fmap);
The function has the following parameter:
fmap
The function returns one of the following values:
PR_SUCCESS
.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
.