Report the valid allocation names by storing them in namelist. namelist must be declared as type char **, then initialized with malloc() to hold n pointers, where n is the number provided by rm_get_num_alloc(). Then each of the n pointers must be
initialized to point to a space of length RM_NAME_LENGTH.
See § for an example.
Returns RM_SUCCESS if successful. On failure,
returns a code describing the error:
RM_NO_INIT
Reflective memory operations have not been
initialized