[][src]Function esp_idf_sys::pcTaskGetTaskName

pub unsafe extern "C" fn pcTaskGetTaskName(
    xTaskToQuery: TaskHandle_t
) -> *mut c_char

Get task name

@return The text (human readable) name of the task referenced by the handle xTaskToQuery. A task can query its own name by either passing in its own handle, or by setting xTaskToQuery to NULL. INCLUDE_pcTaskGetTaskName must be set to 1 in FreeRTOSConfig.h for pcTaskGetTaskName() to be available.

\ingroup TaskUtils