__swab64(9)
π __swab64
okay so bestie, welcome to the manual page for __swab64 β no cap, the header up there literally says __swab64(9) and the manual it lives in is the Kernel API Manual, so you already know this is kernel-adjacent royalty π
β¨ NAME β¨
__swab64 β returns a byteswapped 64-bit value π¦
like, it takes your 64-bit value and flips the byte order around. that's the whole gig. iconic behaviour, honestly.
πΈ SYNOPSIS πΈ
__swab64 (x );
π ARGUMENTS π
xβ the value to byteswap π literally just hand it the thing you want swapped and it does the thing.
π«Ά SEE ALSO π«Ά
okay this is the part where I show you the whole friend group, because __swab64 does NOT roll alone:
Kernel file ./include/uapi/linux/swab.h β that's where the whole squad lives π
__swab16(9)__swab32(9)__swahw32(9)__swahb32(9)__swab16p(9)__swab32p(9)__swab64p(9)__swahw32p(9)__swahb32p(9)__swab16s(9)__swab32s(9)__swab64s(9)__swahw32s(9)__swahb32s(9)
like the entire swab extended universe is right there, go say hi to all of them ππ
and that's the page, bestie π this whole thing ships from ./include/uapi/linux, dated October 2026 β so yeah, it's giving from the future and still byteswapping. slay. periodt. π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms