Skip to content

Please provide va_list variants of variadic functions #249

@skliper

Description

@skliper

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions