flipperzero_sys

Function furi_string_alloc_printf

Source
pub unsafe extern "C" fn furi_string_alloc_printf(
    format: *const c_char,
    ...
) -> *mut FuriString
Expand description

Allocate new FuriString and printf to it.

Initialize and set a string to the given formatted value.

§Arguments

  • format - The printf format
  • ... (direction in) - args to format

§Returns

pointer to the new instance of FuriString