Skip to main content

get_printf_symbol

Function get_printf_symbol 

Source
pub fn get_printf_symbol(target_os: TargetOperatingSystem) -> &'static str
Expand description

Helper function to get the platform-specific printf symbol name.

Returns “_printf” on macOS, “printf” on other platforms.