vbin_printf9
Parse a format string and place args' binary value in a buffer
Usage
int vbin_printf(u32 * bin_buf, size_t size, const char * fmt, va_list args);
Arguments
bin_buf
The buffer to place args' binary value
size
The size of the buffer(by words(32bits), not characters)
fmt
The format string to use
args
Arguments for the format string
Overview
The format follows C99 vsnprintf, except n is ignored, and its argument is skipped.
The return value is the number of words(32bits) which would be generated for the given input.
Note
If the return value is greater than size, the resulting bin_buf is NOT valid for bstr_printf.
Releases
4 releases since Debian 6.0 (Squeeze); the text changed 3 times.