uint64_read(3)
π uint64_read(3) π
okay so this is a page from the Library Functions Manual β yes bestie, we're in the man pages now, and this one is a whole lil cutie π
β¨ NAME β¨
uint64_read β read an unsigned little-endian 64-bit integer π¦
β¨ SYNTAX β¨
lowkey the whole vibe starts here, no cap:
#include <libowfat/uint64.h>
uint64 uint64_read(const char s[4]);
β¨ DESCRIPTION β¨
okay so first things first: uint64 is a 64-bit unsigned integer type. that's it, that's the type. iconic behavior honestly π
and then uint64_read does the thing where it portably reads a uint64 β as stored on a little-endian architecture β from s, and hands it back to you. returns it. gives it to you. bestie behavior π«Ά
like, it's not out here assuming anything about your machine's endianness, it just knows how a little-endian uint64 looks and reads it correctly anyway. main character energy fr fr β¨
ngl the fact that it reads a 64-bit integer out of a const char s[4] is exactly how the page writes it, so that's how we're writing it too. character for character, no editing, periodt. π
β¨ SEE ALSO β¨
uint64_unpack(3)πΈuint64_unpack_big(3)πΈ
go read those too, iykyk π
that's the whole page bestie, you ate it up π and if you're wondering about the fine print: this one lives under the uint64_read(3) name in the Library Functions Manual β that's the source and the whole header situation right there. no extra lore, just that. mwah πβ¨π¦
π¦ 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