Closes a file mapping.

Syntax

#include <prio.h>

PRStatus PR_CloseFileMap(PRFileMap *fmap);

Parameter

The function has the following parameter:

fmap
The file mapping to be closed.

Returns

The function returns one of the following values:

Description

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.