rol8(9)
okay bestie, welcome to rol8(9) from the Kernel API Manual β the little kernel icon that will rotate an 8-bit value left and honestly? slay. π β¨
β¨ NAME β¨
rol8 β rotate an 8-bit value left. thatβs the whole job, no cap. π
π SYNOPSIS π
hereβs the signature, bestie β keep it exactly as written, spacing and all:
__u8 rol8 (__u8 word , unsigned int shift );
π ARGUMENTS π
wordβ value to rotate. this is the 8-bit cutie getting the spin. πshiftβ bits to roll. how many bits weβre rolling, periodt. π«
π SEE ALSO π
the whole group chat is here, plus the Kernel file where it lives:
- Kernel file:
./include/linux/bitops.hβ home base. π rol64(9),ror64(9),rol32(9),ror32(9),rol16(9),ror16(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)β go read these too, iykyk. π₯
mwah π this page comes from ./include/linux, dated October 2026, and itβs literally rol8(9). bye bestie, go rotate something cute! π«ΆπΈ
π¦ 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