carta
put_backslash(3alleg)

put_backslash3alleg

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

Usage

void put_backslash(char *filename);

Overview

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.

History

  • Debian 6.0 (Squeeze) to Debian 5.0 (Lenny): the text shown here
  • Debian 4.0 (Etch)
  • Debian 3.1 (Sarge)

From liballegro-doc 2:4.2.2-2.2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.