rmfree(9r)rmfree(9r)NAMErmfree - General: Frees space previously allocated into the specified
resource map
SYNOPSIS
void rmfree(
struct map *map_struct,
long size,
long addr );
ARGUMENTS
Specifies a pointer to a map structure that was previously initialized
by a call to rminit. Specifies the size of the units to free. Speciā
fies the address at which to free the previously allocated space.
DESCRIPTION
The rmfree routine frees the space previously allocated with a call to
rmalloc. It frees a space of the size specified by the size argument at
the address specified by the addr argument.
NOTES
The caller is responsible for providing any locking necessary for the
map structure that the system passes to the rmfree routine.
RETURN VALUES
None
SEE ALSO
Routines: rmalloc(9r), rmget(9r), rminit(9r)rmfree(9r)