1.4.4.16 OSAL_Name Function

C

const char* OSAL_Name (void)

Summary

Obtains the name of the underlying RTOS.

Description

This function returns a const char* to the textual name of the RTOS. The name is a NULL terminated string.

Precondition

None.

Parameters

None.

Returns

Name of the underlying RTOS or NULL

Example

// get the RTOS name
const char* sName;

sName = OSAL_Name();
sprintf(buff, "RTOS: %s", sName);

Remarks

None.