al_save_config_file_f(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’Ύ al_save_config_file_f β€” Allegro 5 API πŸŽ€

okay bestie, welcome to the 3alleg5 manual page for al_save_config_file_f, and yes we are gonna get you fluent in Allegro config-saving energy ✨


🌸 NAME 🌸

al_save_config_file_f β€” the Allegro 5 API function that writes your config out to a file you already opened πŸ’…


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_save_config_file_f(ALLEGRO_FILE *file, const ALLEGRO_CONFIG *config)

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this one writes out a configuration file to an already open file. You bring the open ALLEGRO_FILE, it brings the config-writing skills. Slay.

It returns true on success and false on error. No cap.

And the file stays open afterwards β€” it does not close it for you, so that's your business to handle, bestie 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


Allegro reference manual energy, from your girl al_save_config_file_f(3alleg5) β€” that's the whole page, periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from