scan_charsetnskip(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_charsetnskip(3) β€” Library Functions Manual ✨

okay so bestie, we're in the Library Functions Manual and this little icon is called scan_charsetnskip. it's giving "skip characters from set" and honestly? it ate. let's get into it πŸ’…


πŸŽ€ NAME πŸŽ€

  • scan_charsetnskip β€” skip characters from set

πŸ¦‹ SYNTAX πŸ¦‹

#include <libowfat/scan.h>

size_t scan_charsetnskip(const char* src, const char* charset,
       size_t limit);

🌸 DESCRIPTION 🌸

so like, scan_charsetnskip returns the length of the maximum prefix of src that consists solely of characters that occur in charset β€” and that's up to and not including the \0, bestie. no cap.

also important: src is considered to end at \0 or after limit characters. so whichever comes first, that's the vibe check. periodt. πŸ’–


🫢 SEE ALSO 🫢


and that's the whole page, angel! πŸ’« this was scan_charsetnskip(3) from the Library Functions Manual β€” go slay, and don't forget to peek at scan_noncharsetnskip(3) when you're done. mwah! πŸŽ€πŸ¦‹πŸ’œ