# GetMemType

Gets the type of the specified memory.

### Synopsis

`uint32 GetMemType( const void *p )`

### Description

The procedure returns flags that describe the type of memory at a specified memory location.

### Arguments

p
  A pointer to the memory whose type to return.

### Return Value

The procedure returns a set of flags that specify the type of memory. For information about these flags, see the description of `AllocMem()`.

### Implementation

Convenience call implemented in clib.lib V20.

### Associated Files

mem.h
  ANSI C Prototype

clib.lib
  ARM Link Library

### See Also

``AllocMem`()`

#