is_relative_filename(3)
π NAME π
okay bestie, so this is is_relative_filename from the Allegro manual, and she does exactly what it says on the tin: returns TRUE if the filename is relative. That's it, that's the whole slay. It lives in the Allegro game programming library π
β¨ SYNOPSIS β¨
she shows up in your code like this, no cap:
#include <allegro.h>
int is_relative_filename(const char *filename);
π DESCRIPTION π
Returns TRUE if the filename is relative, or FALSE if it is absolute. main character energy fr fr β¨
lowkey important: note that an absolute filename underDOS(with adevice separator) will be considered as relative underUnix, because there absolute paths always start with a slash. so likeβ¦ context matters, bestie π
π¦ SEE ALSO π¦
make_absolute_filename(3)β another page to check, go read it π«Άmake_relative_filename(3)β and this one too, iconic π
This was is_relative_filename(3) from the Allegro manual, version 4.4.3. bye bestie, go vibe check your filenames πβ¨π¦
π¦ 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