Scroll to navigation

BPRINTF(9) Basic C Library Functions BPRINTF(9)

NAME

bprintf - Parse a format string and place args' binary value in a buffer

SYNOPSIS

int bprintf(u32 * bin_buf, size_t size, const char * fmt, ...);

ARGUMENTS

u32 * bin_buf

The buffer to place args' binary value

size_t size

The size of the buffer(by words(32bits), not characters)

const char * fmt

The format string to use

...

Arguments for the format string

DESCRIPTION

The function returns the number of words(u32) written into bin_buf.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11