swap_bytes(9)
swap_bytes(9) π
okay so this is a Kernel API Manual page, and the main character is swap_bytes(9) β no cap, it's giving kernel-API bestie energy π«Ά
β¨ NAME β¨
swap_bytes β swap two elements a byte at a time π
π SYNOPSIS π
the signature is literally this:
void swap_bytes (void *a , void *b , size_t n );
π ARGUMENTS π
aβ pointer to the first element to swap πbβ pointer to the second element to swap β¨nβ element size π
π DESCRIPTION π
okay so this is the fallback if alignment doesn't allow using larger chunks β that's the whole tea, periodt π
π SEE ALSO π
the group chat aka SEE ALSO: Kernel file ./lib/sort.c; is_aligned(9); swap_words_32(9); swap_words_64(9); parent(9); sort_r(9); sort_r_nonatomic(9) π¦
β that's the page, bestie: from ./lib, dated October 2026, and it's swap_bytes(9) at the very end π«Άβ¨
π¦ 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