---
name: "__bitmap_shift_right"
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_right"
---

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

logical right shift of the bits in a bitmap

## NAME

\_\_bitmap\_shift\_right - logical right shift of the bits in a bitmap

## SYNOPSIS

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

## ARGUMENTS

*dst*

destination bitmap

*src*

source bitmap

*shift*

shift by this many bits

*nbits*

bitmap size, in bits

## DESCRIPTION

Shifting right (dividing) means moving bits in the MS -\> LS bit direction. Zeros are fed into the vacated MS positions and the LS bits shifted off the bottom are lost.

## COPYRIGHT
