#include <string.h>
#include "pathDelims.h"
Include dependency graph for pathDelims.cxx:
Go to the source code of this file.
Functions | |
char * | convertPathDelimsToWindows (char *fileName) |
char * | convertPathDelimsToUnix (char *fileName) |
|
Definition at line 55 of file pathDelims.cxx. References pathDelimUnix, and pathDelimWindows.
00056 { 00057 if (fileName==NULL) return NULL; 00058 unsigned i, len=strlen(fileName); 00059 for(i=0;i<len;i++) 00060 if (fileName[i]==pathDelimWindows) fileName[i]=pathDelimUnix; 00061 return fileName; 00062 } |
|
Definition at line 46 of file pathDelims.cxx. References pathDelimUnix, and pathDelimWindows.
00047 { 00048 if (fileName==NULL) return NULL; 00049 unsigned i, len=strlen(fileName); 00050 for(i=0;i<len;i++) 00051 if (fileName[i]==pathDelimUnix) fileName[i]=pathDelimWindows; 00052 return fileName; 00053 } |