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

# pack\_putc(3alleg)

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