getaddressspacename

Returns the name of specified address space.

Library:LibC
Service:Library

Syntax

  #include <library.h> 
   
  char *getaddressspacename (
     addrsp_t   space,
     char      *name);
  

Parameters

space

(IN) Specifies the address space obtained with a call to the getaddressspace function.

name

(OUT) On return, points to the name of the address space. If NULL is passed, the function allocates enough memory for the name and returns it anyway. The caller must free the allocated memory.

Return Values

If successful, returns a pointer to the name. Otherwise, returns a NULL pointer.

Remarks

The operating system sets the length for the address space name. The getaddressspace function is designed so that it can return the name, regardless of current or changing size limits.

See Also

getaddressspace