ror32(9)
π ror32(9) β the Kernel API Manual page, but make it cute π
okay so bestie, this is the manual page for ror32(9), straight out of the Kernel API Manual β¨ it's a tiny little function with one job and honestly? she does it flawlessly. no notes. π
π NAME π
ror32 β rotate a 32-bit value right π«
like, you take a 32-bit value and you spin it to the right. that's the whole vibe. π
β¨ SYNOPSIS β¨
__u32 ror32 (__u32 word , unsigned int shift );
look at her. three whole tokens and she's done. main character energy fr fr π
πΈ ARGUMENTS πΈ
wordβ value to rotate π this is the thing that's getting spun, okay?shiftβ bits to roll π‘ how far around the circle we're going, bestie.
π¦ SEE ALSO π¦
the kernel file for all this is ./include/linux/bitops.h π β that's where the bit-twiddling magic lives, iykyk.
and then there's the whole squad of siblings and cousins, all chillin' in the same orbit π«: rol64(9), ror64(9), rol32(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) π
no cap, that's a whole friend group. go say hi to all of them. π«Ά
π reminder bestie: rotations are not shifts, and this page is only about the 32-bit rightward one. don't go attributing extra behaviour to her, she's got one job and it's iconic.
and that's the whole page, gorgeous πΈ this cutie came from ./include/linux, dated October 2026, and she answers to the name ror32(9) β mwah, 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