pub unsafe extern "C" fn rb_io_printf(
argc: c_int,
argv: *const VALUE,
io: VALUE,
) -> VALUEExpand description
This is a rb_f_sprintf + rb_io_write combo.
@param[in] argc Number of objects of argv.
@param[in] argv A format string followed by its arguments.
@param[out] io An IO, opened for writing.
@exception rb_eIOError io isn’t opened for writing.
@exception rb_eFrozenError io is frozen.
@exception rb_eTypeError No conversion from str to String.
@exception rb_eSystemCallError write(2) failed.
@return Always returns ::RUBY_Qnil.
@post argv is formatted, then written to io.
@note This function blocks.
@internal
§As rb_io_write, above descriptions include fakes.
Generated by rb-sys for Ruby mri-x86_64-linux-gnu-3.2.3