www.beck-ipc.com

@CHIP-RTOS C Library - Helper Functions


farcoreleft

Reentrant farcoreleft() for use with multitasking.

unsigned long farcoreleft (void);

Return Value

Amount of heap memory available

Comments

This function provides semaphore protection around the compiler's standard C-library farcoreleft() 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 coreleft() into your program.

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

For COMPACT, LARGE and HUGE memory models, this function must be used instead of coreleft() in order to have the heap semaphore protection.   The coreleft() name will reach the same RTL function, but without the surrounding semaphore protection.

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