al_fputc - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

int al_fputc(ALLEGRO_FILE *f, int c)

Description

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

Parameters:

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

Referenced By

al_fwrite(3).

Allegro reference manual