1put_backslash(3) Allegro manual put_backslash(3)
2
3
4
6 put_backslash - Puts a path separator at the end of a path if needed.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 void put_backslash(char *filename);
14
16 If the last character of the filename is not a `\', `/', `#' or a
17 device separator (ie. `:' under DOS), this routine will concatenate
18 either a `\' or `/' on to it (depending on the platform). Note: ignore
19 the function name, it's out of date.
20
21
23 get_extension(3), get_filename(3)
24
25
26
27Allegro version 4.4.2 put_backslash(3)