---
name: "__bitmap_shift_left"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/__bitmap_shift_left"
---

# \_\_bitmap\_shift\_left(9)

logical left shift of the bits in a bitmap

## NAME

\_\_bitmap\_shift\_left - logical left shift of the bits in a bitmap

## SYNOPSIS

**void \_\_bitmap\_shift\_left(unsigned long \*** *dst***, const unsigned long \*** *src***, unsigned int** *shift***, unsigned int** *nbits***);**

## ARGUMENTS

*dst*

destination bitmap

*src*

source bitmap

*shift*

shift by this many bits

*nbits*

bitmap size, in bits

## DESCRIPTION

Shifting left (multiplying) means moving bits in the LS -\> MS direction. Zeros are fed into the vacated LS bit positions and those MS bits shifted off the top are lost.

## COPYRIGHT
