SYNTAX
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 _apf);
ARGUMENTS
As for snprintf(3) or vsnprintf(3).
BESKRIVELSE
These functions work like the standard C printf functions, except that a reduced set of formatting operations are supported.
In particular: formatting of long long values is not supported. Formatting of floating-point values is done as though with %A even when other formats like %f are specified.
SANNTIDSBETRAKTNINGER
May be called from non-realtime, init/cleanup, and realtime code.
RETURVERDI
The number of characters written to buf.
SE OGSÅ
printf(3)