1. NAME

vbin_printf - Parse a format string and place argsAq binary value in a buffer

2. SYNOPSIS

int vbin_printf(u32 *  bin_buf , size_t  size , const char *  fmt , va_list  args );

3. ARGUMENTS

bin_buf
    The buffer to place argsAq 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

4. DESCRIPTION

The format follows C99 vsnprintf, except n is ignored, and its argument is skiped.

The return value is the number of words(32bits) which would be generated for the given input.

5. NOTE

If the return value is greater than size, the resulting bin_buf is NOT valid for bstr_printf.

6. COPYRIGHT