You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
FreeRTOS-Kernel/include
Gaurav-Aggarwal-AWS 96d6190b61
Replace sprintf with snprintf (#802)
This change necessitates the introduction of 2 new APIs:

void vTaskListTasks( char * pcWriteBuffer, size_t uxBufferLength );
void vTaskGetRunTimeStatistics( char * pcWriteBuffer, size_t uxBufferLength );

These 2 APIs behave exactly as vTaskList and vTaskGetRunTimeStats
except the fact that they take the length of the pcWriteBuffer as the
second argument to ensure that we do not write past the buffer.

vTaskList and vTaskGetRunTimeStats assume that the length of the
buffer is configSTATS_BUFFER_MAX_LENGTH which defaults to 0xFFFF.
This is done to ensure that the existing applications do not break.
New applications should use the new APIs to avoid memory corruption.
2 years ago
..
CMakeLists.txt Fix circular dependency in CMake project (#700) 2 years ago
FreeRTOS.h Replace sprintf with snprintf (#802) 2 years ago
StackMacros.h Normalize line endings and whitespace in source files 2 years ago
atomic.h Normalize line endings and whitespace in source files 2 years ago
croutine.h Remove empty expression statement compiler warning (#692) 2 years ago
deprecated_definitions.h Normalize line endings and whitespace in source files 2 years ago
event_groups.h Add runtime parameter checks (#761) 2 years ago
list.h Feature/fixing clang gnu compiler warnings (#620) 2 years ago
message_buffer.h Add functions to get the buffers of statically created objects (#641) 2 years ago
mpu_prototypes.h Fix prototype in mpu_prototypes.h (#797) 2 years ago
mpu_wrappers.h Add Access Control List to MPU ports (#765) 2 years ago
newlib-freertos.h Paranthesize expression-like macro (#668) 2 years ago
picolibc-freertos.h Fix pxTopOfStack calculation in configINIT_TLS_BLOCK for picolib (#739) 2 years ago
portable.h Add Access Control List to MPU ports (#765) 2 years ago
projdefs.h Add missing FreeRTOS+ defines 2 years ago
queue.h xQueueSendToFromFromISR --> xQueueSendToFrontFromISR (#795) 2 years ago
semphr.h Update xSemaphoreGetStaticBuffer prototype in comment (#704) 2 years ago
stack_macros.h Remove empty expression statement compiler warning (#692) 2 years ago
stdint.readme Normalize line endings and whitespace in source files 2 years ago
stream_buffer.h Add functions to get the buffers of statically created objects (#641) 2 years ago
task.h Replace sprintf with snprintf (#802) 2 years ago
timers.h Merge SMP feature to main (#716) 2 years ago