logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

scan_xshort - parse an unsigned short integer in hexadecimal ASCII representation

Description

       scan_xshort  parses an unsigned short integer in hexadecimal ASCII representation from src and writes the
       result into dest. It returns the number of bytes read from src.

       scan_xshort understands both upper and lower case letters.

       scan_xshort does not expect or understand a "0x" prefix.

Name

       scan_xshort - parse an unsigned short integer in hexadecimal ASCII representation

See Also

fmt_xshort(3)

                                                                                                  scan_xshort(3)

Syntax

#include<libowfat/scan.h>

       size_t scan_xshort(const char *src,unsigned short *dest);

See Also