---
name: "buffer_putlonglong"
section: "3"
platform: "linux"
package: "libowfat-dev"
version: "0.32-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/buffer_putlonglong"
---

# buffer\_putlonglong(3)

write a decimal ASCII representation of a signed long integer to buffer

## NAME

buffer\_putlonglong - write a decimal ASCII representation of a signed long integer to buffer

## SYNTAX

**#include \<libowfat/buffer.h\>**

int **buffer\_putlonglong**(buffer\* *b*,signed long long *x*);

## DESCRIPTION

buffer\_putlonglong is equivalent to passing the result of fmt\_longlong to buffer\_put.

## RETURN VALUE

0 if everything is fine, -1 on error (setting *errno*).

## SEE ALSO

[fmt\_longlong(3)](/fmt_longlong/3.md), [buffer\_put(3)](/buffer_put/3.md), [buffer\_flush(3)](/buffer_flush/3.md), [buffer(3)](/buffer/3.md)
