snmpdMemoryAlloc( )

NAME

snmpdMemoryAlloc( ) - allocate memory for the SNMP agent

SYNOPSIS

void *   snmpdMemoryAlloc 
    ( 
    size_t  size 
    )

DESCRIPTION

This routine allocates memory for the SNMP agent. The required size of the block is passed in size. This memory must be deallocated later with snmpdMemoryFree( ).

RETURNS

A pointer to the allocated buffer on success, otherwise NULL.

SEE ALSO

snmpIoLib, snmpdMemoryFree( )