Man Page: fix_filename_slashes
Operating Environment: debian
Section: 3alleg4
fix_filename_slashes(3alleg4) Allegro manual fix_filename_slashes(3alleg4)NAMEfix_filename_slashes - Converts all the directory separators to a standard character. Allegro game programming library.SYNOPSIS#include <allegro.h> char *fix_filename_slashes(char *path);DESCRIPTIONConverts all the directory separators in the filename stored in `path' to a standard character. On DOS and Windows platforms, this is a backslash. On most other platforms this is a slash. Example: char buf[200] = "c:/dos\backup/weirdo\test"; ... fix_filename_slashes(buf); /* Under DOS we would have c:dosackupweirdo est. Under Unix we would have c:/dos/backup/weirdo/test. */RETURN VALUEReturns a copy of the `path' parameter.SEE ALSOfix_filename_case(3alleg4), canonicalize_filename(3alleg4) Allegro version 4.4.2 fix_filename_slashes(3alleg4)
| Related Man Pages |
|---|
| exrotscl(3alleg4) - suse |
| get_filename(3alleg4) - opendarwin |
| get_filename(3alleg4) - netbsd |
| get_filename(3alleg4) - linux |
| get_filename(3alleg4) - osx |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| How can I do this in VI editor? |
| Is UNIX an open source OS ? |
| Detecting unused variables... |