---
name: "bmp_write_line"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/bmp_write_line"
---

# bmp\_write\_line(3alleg)

Direct access bank switching line selection for writing. Allegro game programming library.

## NAME

bmp\_write\_line - Direct access bank switching line selection for writing. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**unsigned long bmp\_write\_line(BITMAP \*bmp, int line);**

## DESCRIPTION

Selects the line of a bitmap that you are going to draw onto.

## RETURN VALUE

Returns the address of the selected line for writing.

## SEE ALSO

[**exflame**(3alleg)](/exflame/3alleg.md), [**exlights**(3alleg)](/exlights/3alleg.md)
