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

# pack\_getc(3alleg)

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**(3alleg)](/pack_fopen/3alleg.md), [**pack\_fopen\_chunk**(3alleg)](/pack_fopen_chunk/3alleg.md)
