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

# scan\_ushort(3)

parse an unsigned short integer in decimal ASCII representation

## NAME

scan\_ushort - parse an unsigned short integer in decimal ASCII representation

## SYNTAX

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

size\_t **scan\_ushort**(const char \**src*,unsigned short \**dest*);

## DESCRIPTION

scan\_ushort parses an unsigned short 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\_xshort(3)](/scan_xshort/3.md), [scan\_8short(3)](/scan_8short/3.md), [fmt\_ulong(3)](/fmt_ulong/3.md)
