Skip to main content

status_to_string

Function status_to_string 

Source
pub fn status_to_string(status: i32) -> Result<CString<{ _ }>>
Expand description

Converts a PSP status code to its symbolic name.

§C-API Mapping

This is a safe wrapper for CFE_PSP_StatusToString.

§Errors

Returns an error if the resulting string is too long for the internal buffer.