---
name: "expackf"
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/expackf"
---

# expackf(3alleg)

Using custom PACKFILE vtables. Allegro game programming library.

## NAME

expackf - Using custom PACKFILE vtables. Allegro game programming library.

## SYNOPSIS

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

**Example expackf**

## DESCRIPTION

This program demonstrates the use of the packfile functions, with some simple tests.

The first test uses the standard packfile functions to transfer a bitmap file into a block of memory, then reads the bitmap out of the block of memory, using a custom packfile vtable.

The second test reads in a bitmap with another custom packfile vtable, which uses libc's file stream functions.

The third test demonstrates seeking with a custom vtable.

The fourth test reads two bitmaps, and dumps them back into a single file, using a custom vtable again.

Tools

## SEE ALSO

[**ASSERT**(3alleg)](/ASSERT/3alleg.md), [**BITMAP**(3alleg)](/BITMAP/3alleg.md), [**END\_OF\_MAIN**(3alleg)](/END_OF_MAIN/3alleg.md), [**PACKFILE**(3alleg)](/PACKFILE/3alleg.md), [**PACKFILE\_VTABLE**(3alleg)](/PACKFILE_VTABLE/3alleg.md), [**SCREEN\_H**(3alleg)](/SCREEN_H/3alleg.md), [**SCREEN\_W**(3alleg)](/SCREEN_W/3alleg.md), [**alert**(3alleg)](/alert/3alleg.md), [**allegro\_error**(3alleg)](/allegro_error/3alleg.md), [**allegro\_init**(3alleg)](/allegro_init/3alleg.md), [**allegro\_message**(3alleg)](/allegro_message/3alleg.md), [**blit**(3alleg)](/blit/3alleg.md), [**clear\_bitmap**(3alleg)](/clear_bitmap/3alleg.md), [**destroy\_bitmap**(3alleg)](/destroy_bitmap/3alleg.md), [**file\_size\_ex**(3alleg)](/file_size_ex/3alleg.md), [**font**(3alleg)](/font/3alleg.md), [**install\_keyboard**(3alleg)](/install_keyboard/3alleg.md), [**key**(3alleg)](/key/3alleg.md), [**load\_bmp\_pf**(3alleg)](/load_bmp_pf/3alleg.md), [**load\_pcx**(3alleg)](/load_pcx/3alleg.md), [**load\_pcx\_pf**(3alleg)](/load_pcx_pf/3alleg.md), [**load\_tga\_pf**(3alleg)](/load_tga_pf/3alleg.md), [**pack\_fclose**(3alleg)](/pack_fclose/3alleg.md), [**pack\_fopen**(3alleg)](/pack_fopen/3alleg.md), [**pack\_fopen\_vtable**(3alleg)](/pack_fopen_vtable/3alleg.md), [**pack\_fread**(3alleg)](/pack_fread/3alleg.md), [**pack\_fseek**(3alleg)](/pack_fseek/3alleg.md), [**readkey**(3alleg)](/readkey/3alleg.md), [**save\_bmp\_pf**(3alleg)](/save_bmp_pf/3alleg.md), [**save\_tga\_pf**(3alleg)](/save_tga_pf/3alleg.md), [**screen**(3alleg)](/screen/3alleg.md), [**set\_color\_depth**(3alleg)](/set_color_depth/3alleg.md), [**set\_gfx\_mode**(3alleg)](/set_gfx_mode/3alleg.md), [**text\_height**(3alleg)](/text_height/3alleg.md), [**textprintf\_centre\_ex**(3alleg)](/textprintf_centre_ex/3alleg.md), [**textprintf\_ex**(3alleg)](/textprintf_ex/3alleg.md)
