logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

Name

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

See Also

get_extension(3alleg4), get_filename(3alleg4)

Allegro                                           version 4.4.3                           put_backslash(3alleg4)

Synopsis

#include<allegro.h>voidput_backslash(char*filename);

See Also