al_fputc(3)

al_fputc3

Allegro 5 api

Usage

#include <allegro5/allegro.h>
int al_fputc(ALLEGRO_FILE *f, int c)

Overview

Write a single byte to the given file. The byte written is the value of c cast to an unsigned char.

Parameters:

•

c - byte value to write

•

f - file to write to

Returns the written byte (cast back to an int) on success, or EOF on error.

From allegro 5.2.11.3-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.