1scan_xshort(3)             Library Functions Manual             scan_xshort(3)
2
3
4

NAME

6       scan_xshort - parse an unsigned short integer in hexadecimal ASCII rep‐
7       resentation
8

SYNTAX

10       #include <scan.h>
11
12       size_t scan_xshort(const char *src,unsigned short *dest);
13

DESCRIPTION

15       scan_xshort parses an unsigned short integer in hexadecimal ASCII  rep‐
16       resentation  from  src  and writes the result into dest. It returns the
17       number of bytes read from src.
18
19       scan_xshort understands both upper and lower case letters.
20
21       scan_xshort does not expect or understand a "0x" prefix.
22

SEE ALSO

24       fmt_xshort(3)
25
26
27
28                                                                scan_xshort(3)
Impressum