Mission Base

Program Base Library Functions

void* pbl_mem2dup

( char* tag, void* mem1, size_t len1,
  void* mem2, size_t len2 )

Duplicate and concatenate two memory buffers.

Documentation

Duplicate and concatenate two memory buffers.

Parameters:
tag - tag used for memory leak detection
mem1 - first buffer to duplicate
len1 - length of first buffer
mem2 - second buffer to duplicate
len2 - length of second buffer
Returns:
void * retptr == NULL: OUT OF MEMORY
void * retptr != NULL: pointer to new buffer allocated

Alphabetic index



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