scan_xint(3)
β¨ scan_xint(3) β¨
okay bestie, welcome to the Library Functions Manual π this one's a lil baby page but it's lowkey iconic, so let's get into it π
π NAME π
scan_xint β parse an unsigned integer in hexadecimal ASCII representation πΈ
π¦ SYNTAX π¦
#include <libowfat/scan.h>
size_t scan_xint(const char *src,int *dest);
β¨ DESCRIPTION β¨
okay so here's the tea β β scan_xint looks at src and parses an unsigned integer in hexadecimal ASCII representation out of it. then it writes the result into dest. that's it. that's the whole vibe π«Ά
and what does it give you back? it returns the number of bytes read from src β so you know exactly how much of that string it actually ate. periodt π
ngl bestie, it's giving "small function, big main character energy" π
π SEE ALSO π
scan_xlong(3)scan_xint(3)fmt_8int(3)
that's the whole page fr fr π it came straight out of the Library Functions Manual, and the footer just says scan_xint(3) β so yeah, she's a lil self-referential queen, referencing herself in her own SEE ALSO π obsessed, honestly. mwah, go parse some hex, bestie ππ
π¦ 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