GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FIX_FILENAME_SLASHES (3)

NAME

fix_filename_slashes - Converts all the directory separators to a standard character. Allegro game programming library.

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

#include <allegro.h>

char *fix_filename_slashes(char *path);

DESCRIPTION

Converts 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:\dos\backup\weirdo\test.
      Under Unix we would have c:/dos/backup/weirdo/test. */

RETURN VALUE

Returns a copy of the ‘path’ parameter.

SEE ALSO

fix_filename_case(3), canonicalize_filename(3)
Search for    or go to Top of page |  Section 3 |  Main Index


Allegro FIX_FILENAME_SLASHES (3) version 4.4.2

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.