ALLEGRO_FS_INTERFACE(3)
π NAME π
ALLEGRO_FS_INTERFACE β the Allegro 5 API filesystem interface, bestie. This is the ALLEGRO_FS_INTERFACE(3) page from the Library Functions Manual, and it's literally here to show you the functions you can provide for a filesystem. No cap, that's the whole mission. π
β¨ SYNOPSIS β¨
okay so first the include, then the typedef, exactly like this:
#include <allegro5/allegro.h>
typedef struct ALLEGRO_FS_INTERFACE ALLEGRO_FS_INTERFACE;
slay, that's the shape of it. π¦
π DESCRIPTION π
These are the available functions you can provide for a filesystem β the full roster, every single signature, zero crumbs left behind:
ALLEGRO_FS_ENTRY * fs_create_entry (const char *path);
void fs_destroy_entry (ALLEGRO_FS_ENTRY *e);
const char * fs_entry_name (ALLEGRO_FS_ENTRY *e);
bool fs_update_entry (ALLEGRO_FS_ENTRY *e);
uint32_t fs_entry_mode (ALLEGRO_FS_ENTRY *e);
time_t fs_entry_atime (ALLEGRO_FS_ENTRY *e);
time_t fs_entry_mtime (ALLEGRO_FS_ENTRY *e);
time_t fs_entry_ctime (ALLEGRO_FS_ENTRY *e);
off_t fs_entry_size (ALLEGRO_FS_ENTRY *e);
bool fs_entry_exists (ALLEGRO_FS_ENTRY *e);
bool fs_remove_entry (ALLEGRO_FS_ENTRY *e);
bool fs_open_directory (ALLEGRO_FS_ENTRY *e);
ALLEGRO_FS_ENTRY * fs_read_directory (ALLEGRO_FS_ENTRY *e);
bool fs_close_directory(ALLEGRO_FS_ENTRY *e);
bool fs_filename_exists(const char *path);
bool fs_remove_filename(const char *path);
char * fs_get_current_directory(void);
bool fs_change_directory(const char *path);
bool fs_make_directory(const char *path);
ALLEGRO_FILE * fs_open_file(ALLEGRO_FS_ENTRY *e);
That's the entire lineup, bestie: entry functions, directory functions, path functions, and the file-opening one β all present, all accounted for. Obsessed with the completeness. π«Ά
every function name, argument type and return type above is kept exactly as it appears in the page β this is a vibe rewrite, not a signature remix. π
mwah π β source/version: Allegro reference manual, page ALLEGRO_FS_INTERFACE(3). Date check: the footer didn't hand me one, so no invented date, just pure manual-page energy. byeee πβ¨
π¦ 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