scan_ushort - Man Page

parse an unsigned short integer in decimal ASCII representation

Syntax

#include <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_8short(3), fmt_ulong(3)

Referenced By

scan_short(3).