---
name: "bprintf"
section: "3abz"
platform: "linux"
package: "libabz0-dev"
version: "0.5.1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/bprintf"
---

# bprintf(3abz)

print to a buffer

## NAME

bprintf, vbprintf - print to a buffer

## LIBRARIES

Abz Library (-labz), Debug Library (-ldebug)

## SYNOPSIS

```
#include <abz/bprintf.h>

char *vbprintf(const char *fmt, va_list ap);
char *bprintf(const char *fmt, ...);
```

## DESCRIPTION

The functions in the **bprintf** family accept printf-style arguments and print them to a buffer.

## RETURN VALUE

These functions all return a buffer if successful or NULL if there was not enough memory.

Check *errno* to see what error occurred.

## NOTES

None of the libabz routines are thread-safe. I'm not planning to change this either! For more information, please see http://threading.2038bug.com/

## AUTHOR

Written by Abraham vd Merwe \<abz@blio.com\>
