al_remove_fs_entry(3)

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

πŸ’… al_remove_fs_entry(3) πŸ’…

okay so bestie, this page is from the Library Functions Manual and it’s literally the Allegro 5 API. no cap.


πŸŽ€ NAME πŸŽ€

al_remove_fs_entry - Allegro 5 API

✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

bool al_remove_fs_entry(ALLEGRO_FS_ENTRY *e)

πŸ¦‹ DESCRIPTION πŸ¦‹

So al_remove_fs_entry deletes this filesystem entry from the filesystem. Iconic behavior, but read the fine print: only files and empty directories may be deleted. That’s the vibe check. πŸ‘‘

It returns true on success, and false on failure. If something goes wrong, the error is indicated in Allegro’s errno. Periodt.

⚠️ Important: only files and empty directories may be deleted. That’s the whole rule. πŸ’€

🌈 SEE ALSO 🌈


cute sign-off: source/version is Allegro reference manual, and the date isn’t listed on this page, bestie. πŸ«ΆπŸ’–

πŸ“¦ 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