dtw_malloc()

Usage

Returns a pointer to storage that was allocated from Net.Data's run-time heap using dtw_malloc(). The storage is nbytes long. If Net.Data cannot return the requested storage, it returns a NULL pointer.

Format

void *dtw_malloc(long nbytes)

Parameters
nbytes The number of bytes to allocate.

Examples

char *myBuf;
long  nbytes = 8192;
 
myBuf = (char *)dtw_malloc(nbytes);


[ Top of Page | Previous Page | Next Page | Index ]