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

# scan\_long(3)

parse an long integer in decimal ASCII representation

## NAME

scan\_long - parse an long integer in decimal ASCII representation

## SYNTAX

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

size\_t **scan\_long**(const char \**src*,long \**dest*);

## DESCRIPTION

scan\_long parses a long integer in decimal ASCII representation from *src* and writes the result into *dest*. It returns the number of bytes read from *src*.

## SEE ALSO

[scan\_ulong(3)](/scan_ulong/3.md), [scan\_xlong(3)](/scan_xlong/3.md), [scan\_8long(3)](/scan_8long/3.md), [fmt\_long(3)](/fmt_long/3.md)
