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

# PACKFILE(3alleg)

Packfile structure, similar to the libc FILE structure. Allegro game programming library.

## NAME

PACKFILE - Packfile structure, similar to the libc FILE structure. Allegro game programming library.

## SYNOPSIS

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

**typedef struct PACKFILE**

## DESCRIPTION

A packfile structure, similar to the libc FILE structure. Read chapter "File and compression routines" for a description on how to obtain/use this structure. Note that prior to version 4.1.18, some internal fields were accidentally documented - but PACKFILE should be treated as an opaque structure, just like the libc FILE type.

## SEE ALSO

[**pack\_fopen**(3alleg)](/pack_fopen/3alleg.md), [**pack\_fopen\_chunk**(3alleg)](/pack_fopen_chunk/3alleg.md), [**pack\_fopen\_vtable**(3alleg)](/pack_fopen_vtable/3alleg.md), [**expackf**(3alleg)](/expackf/3alleg.md)
