scan_xshort(3)

scan_xshort3

Parse an unsigned short integer in hexadecimal ascii representation

Usage

#include <libowfat/scan.h>

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

Overview

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.