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

# DATAFILE(3alleg4)

Stores an Allegro datafile in memory.

## NAME

DATAFILE - Stores an Allegro datafile in memory.

## SYNOPSIS

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

**typedef struct DATAFILE**

## DESCRIPTION

```
   void *dat;     - pointer to the actual data
   int type;      - type of the data
   long size;     - size of the data in bytes
   void *prop;    - list of object properties
```

Read chapter "Datafile routines", section "Using datafiles" for a description on how to obtain/use this structure.

## SEE ALSO

**load\_datafile**(3alleg4), **excustom**(3alleg4), **exdata**(3alleg4), **exexedat**(3alleg4), **exgui**(3alleg4), **exsprite**(3alleg4), **exunicod**(3alleg4)
