Skip to main content

rb_enc_vsprintf

Function rb_enc_vsprintf 

Source
pub unsafe extern "C" fn rb_enc_vsprintf(
    enc: *const OnigEncodingTypeST,
    fmt: *const c_char,
    ap: *mut __va_list_tag,
) -> VALUE
Expand description

Identical to rb_enc_sprintf, except it takes a va_list instead of variadic arguments. It can also be seen as a routine identical to rb_vsprintf, except it additionally takes an encoding.

ยง@param[in] enc Encoding of fmt. @param[in] fmt A printf-like format specifier. @param[in] ap Contents to format. @return A rendered new instance of ::rb_cString, of enc encoding.

Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.3.8