scan_longlong(3)
π scan_longlong(3) π
okay bestie, welcome to scan_longlong(3) β it's page 3 of the Library Functions Manual, and it's a tiny little icon that does exactly one thing and does it slay. β¨
πΈ NAME πΈ
scan_longlong β parse a long integer in decimal ASCII representation
π SYNTAX π
#include <libowfat/scan.h>
size_t scan_longlong(const char *src,long long *dest);
π¦ DESCRIPTION π¦
so like, scan_longlong parses a long long integer in decimal ASCII representation out of src and writes the result into dest. π«Ά
and what does it give you back? the number of bytes read from src. that's it. that's the whole vibe. it tells you how far into src it got, and it drops the actual number into dest. main character energy, minimal drama, zero complaints. π
β SEE ALSO β
ngl it's giving "short and perfect" β no options, no env vars, no exit statuses, no warnings, nothing to worry about. just aconst char *src, along long *dest, and asize_treturn. fr fr. ππ
okay that's the whole page, bestie!! π§π the header up top said scan_longlong(3) and the footer at the bottom just echoed scan_longlong(3) right back β same name, same manual, Library Functions Manual β with no version and no date anywhere in sight, which is lowkey iconic of it honestly. πππ go forth and parse those long longs. π
π¦ 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