---
name: "bmp_write_line"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bmp_write_line/3alleg4"
---

# bmp\_write\_line(3alleg4)

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**(3alleg4), **exlights**(3alleg4)
