[−][src]Function mmal_sys::vcos_safe_sprintf
pub unsafe extern "C" fn vcos_safe_sprintf(
buf: *mut c_char,
buflen: usize,
offset: usize,
fmt: *const c_char,
_: ...
) -> usize
Like snprintf, except it places the output at the specified offset. Output is truncated to fit in buflen bytes, and is guaranteed to be NUL-terminated. Returns the string length before/without truncation.