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

# pack\_getc(3alleg4)

Returns the next character from a stream. Allegro game programming library.

## NAME

pack\_getc - Returns the next character from a stream. Allegro game programming library.

## SYNOPSIS

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

**int pack\_getc(PACKFILE \*f);**

## DESCRIPTION

Returns the next character from the stream \`f', or EOF if the end of the file has been reached.

## SEE ALSO

**pack\_fopen**(3alleg4), **pack\_fopen\_chunk**(3alleg4)
