---
name: "bprintf"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/bprintf/9"
---

# bprintf(9)

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

## 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

*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

*...*

Arguments for the format string

## DESCRIPTION

The function returns the number of words(u32) written into *bin\_buf*.

## COPYRIGHT
