Mission Base

Program Base Library Functions

void* pbl_memdup

( char* tag, void* data, size_t size )

Duplicate a buffer, similar to strdup().

Documentation

Duplicate a buffer, similar to strdup().

Parameters:
tag - tag used for memory leak detection
data - buffer to duplicate
size - size of that buffer
Returns:
void * retptr == NULL: OUT OF MEMORY
void * retptr != NULL: pointer to buffer allocated

Alphabetic index



This page was generated with the help of DOC++.