delete_file(3)
π delete_file(3) π
okay bestie, so this is delete_file, straight out of the Allegro game programming library manual. it's giving "one tiny function, one big vibe" and honestly? obsessed. π¦
β¨ NAME β¨
delete_file β Removes a file from the disk. Allegro game programming library.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int delete_file(const char *filename);
π DESCRIPTION π
So like, this one literally just removes a file from the disk. that's it. that's the whole thing. main character behavior fr fr π
but bestie, hear me β you can't delete directories, though. nope. not happening. it's a file deleter, not a folder deleter. do not come for the directories, they are not on the menu. π
β RETURN VALUE β
it hands you back zero when it slays (success β¨), and non-zero when it doesn't (failure π). no cap.
π SEE ALSO π
(no SEE ALSO section in this one, bestie β the original said nothing else, so neither do i. periodt.)
π real talk though: zero = it worked, non-zero = it did NOT work. check that return value, king. don't be out here deleting files and not checking. it's giving chaos energy.
okay that's the whole page!! π this absolute icon of a manual page comes to you from Allegro, version 4.4.3, and it's filed under delete_file(3) π«Ά mwah, go write some games, ily bye πππ§
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms