1al_fputc(3) al_fputc(3)
23
4
NAME
6al_fputc - Allegro 5 API
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
int al_fputc(ALLEGRO_FILE *f, int c)
12
DESCRIPTION
14Write a single byte to the given file. The byte written is the value
15of c cast to an unsigned char.
1617
Parameters:
1819
· c - byte value to write
2021
· f - file to write to
2223
Returns the written byte (cast back to an int) on success, or EOF on
24error.
2526
27
28
Allegro reference manual al_fputc(3)