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

# fmt\_longlong(3)

write an ASCII representation of a long long integer

## NAME

fmt\_longlong - write an ASCII representation of a long long integer

## SYNTAX

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

size\_t **fmt\_longlong**(char \**dest*,long long *source*);

## DESCRIPTION

fmt\_longlong writes an ASCII representation ('-' and '0' to '9', base 10) of *source* to *dest* and returns the number of bytes written.

fmt\_longlong does not append \\0.

If *dest* equals FMT\_LEN (i.e. is zero), fmt\_longlong returns the number of bytes it would have written.

For convenience, fmt.h defines the integer FMT\_LONG to be big enough to contain every possible fmt\_longlong output plus \\0.

## SEE ALSO

[scan\_longlong(3)](/scan_longlong/3.md)
