al_fputs(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– al_fputs(3) πŸ’–

ok so bestie, this page is from the Library Functions Manual, and it's literally the Allegro 5 API moment for al_fputs πŸŽ€


🌸 NAME 🌸

al_fputs β€” Allegro 5 API

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

int al_fputs(ALLEGRO_FILE *f, char const *p)

πŸ’… DESCRIPTION πŸ’…

Writes a string to file. Apart from the return value, this is equivalent to:

al_fwrite(f, p, strlen(p));

Parameters:

  • f β€” file handle to write to
  • p β€” string to write

Returns a non-negative integer on success, EOF on error.

Note: depending on the stream type and the mode passed to al_fopen(3), newline characters in the string may or may not be automatically translated to native end-of-line sequences, e.g. CR/LF instead of LF.

πŸ¦‹ SEE ALSO πŸ¦‹


Cute sign-off: this iconic page comes from the Allegro reference manual and is all about al_fputs(3) β€” k bye bestie, go write some strings fr fr πŸ’–βœ¨

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms