*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> rmget (9r)              
Title
Content
Arch
Section
 

rmget(9r)

Contents


NAME    [Toc]    [Back]

       rmget  -  General:  Allocates  size  units  from the given
       resource map

SYNOPSIS    [Toc]    [Back]

       int rmget(
               struct map *map_struct,
               long size,
               long addr );

ARGUMENTS    [Toc]    [Back]

       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.

DESCRIPTION    [Toc]    [Back]

       The  rmget routine allocates the number of units specified
       in size, starting at the address specified in addr.

NOTES    [Toc]    [Back]

       The caller is responsible for providing any locking necessary
  for  the map structure that the system passes to the
       rmget routine.

RETURN VALUES    [Toc]    [Back]

       Upon successful completion,  rmget  returns  the  starting
       address, addr. Otherwise, it returns the value 0 (zero).

SEE ALSO    [Toc]    [Back]

      
      
       Routines: rmalloc(9r), rmfree(9r), rminit(9r)



                                                        rmget(9r)
[ Back ]
 Similar pages
Name OS Title
MALLOC Tru64 General: Allocates a variable-size section of kernel virtual memory
sum Tru64 Displays the checksum and byte count in block-size (1024) units of a file
getnewbuf Tru64 General: Allocates a buf structure
contig_malloc Tru64 General: Allocates physically contiguous memory
rminit Tru64 General: Initializes a resource map
RSVP Tru64 Resource ReSerVation Protocol general information
rsvp Tru64 Resource ReSerVation Protocol general information
rmfree Tru64 General: Frees space previously allocated into the specified resource map
rad_get_num Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
rad_get_physmem Tru64 Query resource complements of a Resource Affinity Domain (libnuma)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service