---
name: "buffer_putulonglong"
section: "3diet"
platform: "linux"
package: "libowfat-dev"
version: "0.28-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/buffer_putulonglong/3diet"
---

# buffer\_putulonglong(3diet)

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

## NAME

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

## SYNTAX

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

int **buffer\_putulonglong**(buffer\* *b*,unsigned long long *x*);

## DESCRIPTION

buffer\_putulonglong is equivalent to passing the result of fmt\_ulonglong to buffer\_put.

## RETURN VALUE

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

## SEE ALSO

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