home | help
scan_xshort(3)		    Library Functions Manual		  scan_xshort(3)

NAME
     scan_xshort  -  parse an unsigned short integer in hexadecimal ASCII repre-
     sentation

SYNTAX
     #include <libowfat/scan.h>

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

DESCRIPTION
     scan_xshort parses an unsigned short integer in hexadecimal ASCII represen-
     tation 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.

SEE ALSO
     fmt_xshort(3)

								  scan_xshort(3)

home | help