| Summary | |
#include <intrins.h>
unsigned long _lrol_ (
unsigned long l, /* 32-bit integer to rotate left */
unsigned char b); /* bit positions to rotate */
|
| Description | | The _lrol_ routine rotates the bit pattern for the long integer l left b bits. |
| Return Value | | The _lrol_ routine returns the rotated value of l. |
| See Also | | _crol_, _cror_, _irol_, _iror_, _lror_ |
| Example | |
#include <intrins.h>
void test_lrol (void) {
long a;
long b;
a = 0xA5A5A5A5;
b = _lrol_(a,3); /* b now is 0x2D2D2D2D */
}
|