ror32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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