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

# pack\_putc(3alleg4)

Puts a character in the stream. Allegro game programming library.

## NAME

pack\_putc - Puts a character in the stream. Allegro game programming library.

## SYNOPSIS

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

**int pack\_putc(int c, PACKFILE \*f);**

## DESCRIPTION

Puts a character in the stream f.

## RETURN VALUE

Returns the character written on success, or EOF on error.

## SEE ALSO

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