scan_uint(3)
π scan_uint β the manual, but make it cute π
okay so bestie, welcome to the scan_uint page, straight outta the Library Functions Manual β¨ this is a little one but she's iconic and she does exactly one thing and she does it well π«Ά
πΈ NAME πΈ
scan_uint β parse an unsigned integer in decimal ASCII representation π
π SYNTAX π
#include <libowfat/scan.h>
size_t scan_uint(const char *src,int *dest);
π¦ DESCRIPTION π¦
so here's the tea β scan_uint parses an unsigned integer in decimal ASCII representation from src, and writes the result into dest. that's the whole vibe, no cap π
and what does she give back? she returns the number of bytes read from src π that's your return value, that's the size_t, that's the receipt π§Ύ
literally it's giving "read some digits, drop the number off at dest, tell you how much of the string she consumed" π and honestly? we're obsessed π
β¨ SEE ALSO β¨
scan_ulong(3)β her sister, she goes bigger π«fmt_uint(3)β the other direction, the glow-up in reverse π₯
okay and that's the whole page!! π shoutout to the Library Functions Manual for hosting her, and the footer is just her name again β scan_uint(3) β like the queen she is ππ byeee, go read some decimal digits 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