 |
Index for Section 9r |
|
 |
Alphabetical listing for R |
|
 |
Bottom of page |
|
rmget(9r)
NAME
rmget - General: Allocates size units from the given resource map
SYNOPSIS
int rmget(
struct map *map_struct,
long size,
long addr );
ARGUMENTS
map_struct
Specifies a pointer to a map structure that was previously initialized
by a call to rminit.
size
Specifies the size of the units to allocate.
addr
Specifies the address at which to allocate the space.
DESCRIPTION
The rmget routine allocates the number of units specified in size, starting
at the address specified in addr.
NOTES
The caller is responsible for providing any locking necessary for the map
structure that the system passes to the rmget routine.
RETURN VALUES
Upon successful completion, rmget returns the starting address, addr.
Otherwise, it returns the value 0 (zero).
SEE ALSO
Routines: rmalloc(9r), rmfree(9r), rminit(9r)
 |
Index for Section 9r |
|
 |
Alphabetical listing for R |
|
 |
Top of page |
|