scan_xint(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 🌈


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 πŸ˜­πŸ’–