_lrotl

Rotates a long 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 long _lrotl  (  
     unsigned long   value,   
     unsigned int    shift);
  

Parameters

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

Return Values

Returns the rotated value.

Remarks

_lrotl rotates the unsigned long value to the left by the number of bits specified in the shift parameter.

To rotate an unsigned int value, call the _rotl function.

See Also

_lrotr, _rotl, _rotr