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

# scan\_xlong(3)

parse an unsigned long integer in hexadecimal ASCII representation

## NAME

scan\_xlong - parse an unsigned long integer in hexadecimal ASCII representation

## SYNTAX

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

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

## DESCRIPTION

scan\_xlong parses an unsigned long integer in hexadecimal ASCII representation from *src* and writes the result into *dest*. It returns the number of bytes read from *src*.

scan\_xlong understands both upper and lower case letters.

scan\_xlong does not expect or understand a "0x" prefix.

## SEE ALSO

[fmt\_xlong(3)](/fmt_xlong/3.md)
