scan_ulonglong(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_ulonglong(3) ✨

okay bestie, welcome to the Library Functions Manual πŸ’– this one is short and sweet, like a lil snack, and it's literally so useful. no cap.


🌸 NAME 🌸

scan_ulonglong β€” parse an unsigned long integer in decimal ASCII representation


πŸŽ€ SYNTAX πŸŽ€

#include <libowfat/scan.h>

size_t scan_ulonglong(const char *src,unsigned long long *dest);

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea, bestie 🍡 scan_ulonglong parses an unsigned long long integer in decimal ASCII representation from src, and then it writes the result into dest. slay. ✨

and then β€” the part that's giving main character energy β€” it returns the number of bytes read from src. that's the whole vibe check. it tells you exactly how much it ate. ate and left no crumbs πŸ’…

ngl this is one of those "small but mighty" functions. src goes in, a number comes out, and you get a byte count back. periodt.

🌈 SEE ALSO 🌈


and that's the whole page, bestie 🫢 this was scan_ulonglong(3) from the Library Functions Manual β€” short king of a manpage, fr fr. go parse something. πŸ’œ