ror64(9)
β¨ ror64 π«
ok so real talk, bestie β you're looking at ror64(9) from the Kernel API Manual, and honestly? she's iconic. tiny page, huge personality. let's get into it π
πΈ NAME πΈ
ror64 β rotate a 64-bit value right π
like, you take a 64-bit number and you spin it to the right. no cap, that's the whole gig.
π¦ SYNOPSIS π¦
__u64 ror64 (__u64 word , unsigned int shift );
look at her. so clean. so composed. the way that signature just sits there π
π ARGUMENTS π
wordβ the value to rotate. yes queen, this is the thing you're spinning. it's a__u64, so it's a whole 64 bits of main character energy π₯shiftβ bits to roll. anunsigned inttelling you how far to the right we're going. lowkey the direction-setter of the whole operation π
π SEE ALSO π
the girlies she runs with β all of these live in the Kernel file ./include/linux/bitops.h, iykyk:
rol64(9)rol32(9)ror32(9)rol16(9)ror16(9)rol8(9)ror8(9)sign_extend32(9)sign_extend64(9)get_count_order_long(9)parity8(9)__ffs64(9)fns(9)assign_bit(9)__ptr_set_bit(9)__ptr_clear_bit(9)__ptr_test_bit(9)
fr fr that's the whole friend group right there π«Ά
π reminder bestie: this isror64, notrol64. right, not left. don't mix up the direction or it's giving "I read the synopsis and nothing else" π
and that's the page!! sourced from ./include/linux, dated October 2026, in this little ror64(9) corner of the universe β go rotate something right, bestie β you're gonna slay π
π
π¦ 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