Next Previous Contents

94. SLmalloc

Synopsis

Allocate some memory

Usage

char *SLmalloc (unsigned int nbytes)

Description

This function uses malloc to allocate nbytes of memory. Upon error it returns NULL; otherwise it returns a pointer to the allocated memory. One should use SLfree to free the memory after used.

See Also

SLfree, SLrealloc, SLcalloc


Next Previous Contents