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

# PACKFILE(3alleg4)

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**(3alleg4), **pack\_fopen\_chunk**(3alleg4), **pack\_fopen\_vtable**(3alleg4), **expackf**(3alleg4)
