rmget - General: Allocates size units from the given
struct map *map_struct,
long addr );
Specifies a pointer to a map structure that was previously
initialized by a call to rminit. Specifies the size of
the units to allocate. Specifies the address at which to
allocate the space.
The rmget routine allocates the number of units specified
in size, starting at the address specified in addr.
The caller is responsible for providing any locking necessary
for the map structure that the system passes to the
Upon successful completion, rmget returns the starting
address, addr. Otherwise, it returns the value 0 (zero).
Routines: rmalloc(9r), rmfree(9r), rminit(9r)
[ Back ]