-
Notifications
You must be signed in to change notification settings - Fork 236
Open
Labels
Description
I've recently encountered a need to conditionally call CFE_EVS_SendEvent or CFE_ES_WriteToSysLog depending on the app's status. Unfortunately, both of these functions are variadic functions, and they can't easily be wrapped in another variadic function.
The C standard library provides variants of its variadic functions that take a va_list. For example, printf has the vprintf variant.
Please provide similar variants for cFE's variadic functions. The implementation would be simple: the majority of the function's logic can reside in the va_list version, and the variadic function can become thin a wrapper around the va_list version.
Reactions are currently unavailable