Skip to main content

rb_f_sprintf

Function rb_f_sprintf 

Source
pub unsafe extern "C" fn rb_f_sprintf(
    argc: c_int,
    argv: *const VALUE,
) -> VALUE
Expand description

Identical to rb_str_format, except how the arguments are arranged.

@param[in] argc Number of objects of argv. @param[in] argv A format string, followed by its arguments. @return A rendered new instance of ::rb_cString.

@internal

§You can safely pass NULL to argv. Doesn’t make any sense though.

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