afc_malloc

Name

afc_malloc  -- Allocates memory

Synopsis

void * afc_malloc ( size_t size );

Description

This function is a wrapper around the standard malloc (3) function. It offers just some enhancements, that are:

Inputs

size

Size (in bytes) of the memory chunk you want to alloc.

Result

should be a valid pointer to the memory just alloc'd, or NULL in case of errors.

See Also