pub unsafe extern "C" fn rtapi_snprintf(
    buf: *mut c_char,
    size: c_ulong,
    fmt: *const c_char,
     ...
) -> c_int
Expand description

‘rtapi_snprintf()’ works like ‘snprintf()’ from the normal C library, except that it may not handle long longs. It is provided here because some RTOS kernels don’t provide a realtime safe version of the function, and those that do don’t provide support for printing doubles. On systems with a good kernel snprintf(), or in user space, this function simply calls the normal snprintf(). May be called from user, init/cleanup, and realtime code.