ec_memtype_range_by_module

March 26, 2020 Contributors

Name

ec_memtype_range_by_module — Returns the range of memtypes associated with a given module

Synopsis

#include "ec_malloc.h"

| int **ec_memtype_range_by_module** ( | module, |   |
|   | lower, |   |
|   | upper); |   |

const char * <var class="pdparam">module</var>;
int * <var class="pdparam">lower</var>;
int * <var class="pdparam">upper</var>;

Description

This function determines whether a specific range of memtypes is associated with a given module. For more information about memory types see Memory Types.

Parameters

module

The module prefix.

lower

The lower end of the range.

upper

The upper end of the range.

Return Value

This function returns 0 if no memtypes matched, 1 otherwise.

Threading

You can call this function from any thread.

See Also

Memory Functions and ec_memtype_by_name