lwprintf_vsnprintf_ex_rust

Function lwprintf_vsnprintf_ex_rust 

Source
pub unsafe extern "C" fn lwprintf_vsnprintf_ex_rust(
    lwobj: *mut lwprintf_s,
    s: *mut c_char,
    n: usize,
    fmt: *const c_char,
    ...
) -> c_int
Expand description

Write formatted data from variable argument list to sized buffer.

WARNING: This function is an wrapper for lwprintf_vsnprintf_ex and uses Rust’s variadic arguments feature. If you plan to call this function from C code or need precise control over the va_list, use lwprintf_vsnprintf_ex directly

§Arguments

  • args - Additional arguments specifying data to print.
  • other arguments are the same as lwprintf_vsnprintf_ex.

§Safety

This function is unsafe because it uses C-style variadic arguments.