www.beck-ipc.com

@CHIP-RTOS C Library - Helper Functions


realloc

Reentrant realloc() for use with multitasking.

void * realloc (void * p, unsigned int size);

Parameters

p

Pointer to heap memory to be reallocated.

size

Number of bytes for new allocation.

Return Value

Pointer to newly allocated memory on success
NULL pointer on allocation failure

Comments

This function provides semaphore protection around the compiler's standard C-library realloc() function.

This function is available only with the Paradigm Beck IPC Edition compiler.    Refer to the reentrant malloc() description for more details on how to install this version of realloc() into your program.

Refer to your compiler's standard library documentation for a description of this API's basic functionality.

See Also

Supported since or modified in @CHIP-RTOS version

    SC12SC13SC11SC1x3SC2x
    V1.10V1.00V1.00V0.90V1.00

This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document