ror8(9)
π NAME π
okay so bestie, this is ror8(9), straight outta the Kernel API Manual, and it is literally the function for one job: rotate an 8-bit value right. no cap, that's the whole name. periodt. π
β¨ SYNOPSIS β¨
here's the exact signature, do not freestyle it:
__u8 ror8 (__u8 word , unsigned int shift );
π ARGUMENTS π
wordβ the value to rotate. that's the thing getting spun, okay? πshiftβ the bits to roll. yes, "roll" is the word the page uses, we're keeping it. π²
π¦ SEE ALSO π¦
the kernel file is ./include/linux/bitops.h β that's the home base, iykyk. π‘
rol64(9)ror64(9)rol32(9)ror32(9)rol16(9)ror16(9)rol8(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)
that's the whole page, bestie π«Ά β signed off from ./include/linux, October 2026, ror8(9). π
π¦ 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