4.4.8 How Can I Rotate a Variable?
The C language does not have a rotate operator, but rotations can be performed using the shift and bitwise OR operators. For more information, refer to the following sections:
24.3.10 Bitwise Operations on Signed Values (CCI)
24.3.11 Right-Shifting Signed Values (CCI - Signed variables)