al_remove_fs_entry(3alleg5)

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

✨ NAME ✨

al_remove_fs_entry - Allegro 5 API πŸ’–

okay bestie, welcome to the page for al_remove_fs_entry(3alleg5) from the Allegro 5 API. It's giving "delete a filesystem entry," and we're gonna walk through it together. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro5/allegro.h>

bool al_remove_fs_entry(ALLEGRO_FS_ENTRY *e)

πŸ’… DESCRIPTION πŸ’…

Delete this filesystem entry from the filesystem. Only files and empty directories may be deleted. 🚨 No cap, that's the boundary β€” if it's a non-empty directory, this function is not the one.

Returns true on success, and false on failure, error is indicated in Allegro’s errno. So if it comes back false, go check that errno, bestie. 😭


πŸ‘€ SEE ALSO πŸ‘€


source/version: Allegro reference manual. page: al_remove_fs_entry(3alleg5). date: not listed on this page. mwah πŸ’‹ stay slay, and may your empty directories be deleted cleanly. ✨🌈

πŸ“¦ where this page comes from