put_backslash - Man Page

Puts a path separator at the end of a path if needed. Allegro game programming library.

Synopsis

#include <allegro.h>

void put_backslash(char *filename);

Description

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). Note: ignore the function name, it's out of date.

See Also

get_extension(3), get_filename(3)

Referenced By

get_extension(3), get_filename(3).

version 4.4.3 Allegro manual