version 1.29, 2002/09/11 19:11:54
|
version 1.30, 2003/01/25 14:38:58
|
|
|
*/ | */ |
static Sint32 strcasecmp(const char* s1, const char* s2); | static Sint32 strcasecmp(const char* s1, const char* s2); |
| |
|
/** Return just the file or directory name from the path into basename. |
|
This method returns a file or directory name at the end of a path. |
|
The path can be relative or absolute. If the path is the root, |
|
then empty string is returned. |
|
*/ |
|
static char *System::extract_file_name(const char *fullpath, char *basename); |
|
|
|
/** Return just the pathname into dirname. The fullpath can be relative |
|
or absolute. This method returns a path minus the file or |
|
directory name at the end of a supplied path (fullpath). |
|
If the fullpath is the root, then fullpath is returned. |
|
The resulting path will contain a trailing slash unless fullpath is |
|
a file or directory name, in which case, just the file or directory |
|
name is returned. |
|
*/ |
|
static char *System::extract_file_path(const char *fullpath, char *dirname); |
|
|
|
// Is absolute path? |
|
static Boolean System::is_absolute_path(const char *path); |
|
|
#if defined(PEGASUS_OS_HPUX) | #if defined(PEGASUS_OS_HPUX) |
static Boolean bindVerbose; | static Boolean bindVerbose; |
#endif | #endif |