put_backslash(3alleg4)
okay bestie, this is the put_backslash(3alleg4) page from the Allegro manual, and it's giving path-separator energy π
β¨ NAME β¨
put_backslash β Puts a path separator at the end of a path if needed. Allegro game programming library. No cap.
π SYNOPSIS π
#include <allegro.h>
void put_backslash(char *filename);
π¦ DESCRIPTION π¦
So here's the tea, bestie: if the last character of the filename is not a \, /, #, or a device separator (ie. : under DOS), this routine will concatenate either a \ or / on to it (depending on the platform). It's literally just making sure your path ends with the right little separator, periodt.
Note: real talk, ignore the function name, it's out of date. π
π SEE ALSO π
source/version check: this is from Allegro version 4.4.3, and the page is put_backslash(3alleg4). The footer doesn't have a date, so that's the whole story. bye bestie π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms