int libmem_foreach_driver libmem_foreach_driver_fn_t   fn  ) 
 

A helper function for iterating through all LIBMEM drivers.

Parameters:
fn   The function to call for each driver.
Returns:
The LIBMEM status result.
This function iterates through all the registered LIBMEM drivers and calls a libmem_foreach_driver_fn_t function for each. If any of the calls return a response other than LIBMEM_STATUS_SUCCESS this function will terminate and return the response.