scan_xshort(3)
β¨ NAME β¨
okay so bestie, this is scan_xshort(3) from the Library Functions Manual, and she parses an unsigned short integer in hexadecimal ASCII representation. that's her whole main character job, no cap. π
π¦ SYNTAX π¦
#include <libowfat/scan.h>
size_t scan_xshort(const char *src,unsigned short *dest);
πΈ DESCRIPTION πΈ
so like, scan_xshort takes src and parses an unsigned short integer in hexadecimal ASCII representation from it, then writes the result into dest. the way she returns the number of bytes read from src? iconic. π₯
she understands both upper and lower case letters, so she's not gonna be weird about your letter casing. periodt. β¨
β οΈ but listen:scan_xshortdoes not expect or understand a"0x"prefix. do not come at her with0xand expect results, bestie. it's not that kind of party. π
π SEE ALSO π
fmt_xshort(3)β the matching format side, go say hi. π
and that's the whole page, fr fr. footer vibes: scan_xshort(3), from the Library Functions Manual, and she said periodt. π
β¨
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms