openfam::fam::fam_unmap
Unmap a data item in FAM from the process virtual address space.
Synopsis
void fam_unmap(void *local, Fam_Descriptor *descriptor);
Description
This method unmaps a data item in FAM from the process virtual address space.
Input Arguments
Name | Description |
---|---|
Local | Local pointer to be unmapped. |
Descriptor | Descriptor associated with the data item in FAM to be unmapped. |
Return Values
None. Throws an exception on error.
Exceptions
Exception | Description |
---|---|
Fam_InvalidOption_Exception | incorrect parameters are passed. |
Fam_Unimplemented_Exception | API not implemented error. (Only for memory server allocator) |
FAM_ERR_NOPERM | Caller does not have access rights |
FAM_ERR_ALREADYEXIST | the data item name is already present in FAM |
FAM_ERR_GRPC | there is a communication error with memory server |
FAM_ERR_RPC_CLIENT_NOTFOUND | Memory server initialization failure |
Notes
None.
Example
See example under fam_map