rtapi_snprintf, rtapi_vsnprintf − Perform snprintf-like string formatting
int rtapi_snprintf(char *buf, unsigned long int size, const char *fmt, ...)
int rtapi_vsnprintf(char *buf, unsigned long int size, const char *fmt, va_list apfB)
As for snprintf(3) or vsnprintf(3).
These functions work like the standard C printf functions, except that a reduced set of formatting operations are supported.
May be called from user, init/cleanup, and realtime code.
The number of characters written to buf.
printf(3)