函数名: lrotl, _lrotl
功 能: 将无符号长整型数向左循环移位
用 法: #include <stdlib.h>
unsigned long lrotl(unsigned long lvalue, int count);
unsigned long _lrotl(unsigned long lvalue, int count);
程序例:
/* lrotl example */
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
unsigned long result;
unsigned long value = 100;
result = _lrotl(value,1);
printf("The value %lu rotated left one bit is: %lu\n", value, result);
return 0;
}