_rotl

Rotates an integer value to the left by the specified number of bits

Local Servers:nonblocking
Remote Servers:N/A
Platform:NLM
Service:Data Manipulation

Syntax

  #include <stdlib.h>  
   
  unsigned int _rotl  (  
     unsigned int   value,   
     unsigned int   shift);
  

Parameters

value
(IN) Specifies the value to rotate.
shift
(IN) Specifies the number of bits by which to rotate the value.

Return Values

Returns the rotated value.

Remarks

_rotl rotates the unsigned int value to the left by the number of bits specified in the shift parameter.

To rotate an unsigned long value, call the _lrotl function.

See Also

_lrotl, _lrotr, _rotr