Programming Guide



sm_fmalloc

Allocate memory

VOIDPTR sm_fmalloc(unsigned size);

size
Number of bytes of memory to allocate.

Returns

Description

.If size is not zero, the C library function malloc is called and the value it returns is returned. Memory allocated by calling sm_fmalloc should be freed by calling sm_ffree.

See Also

sm_ffree, sm_strdup