diff options
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index 725e8ae..82e1627 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -101,6 +101,11 @@ public: static kwsys_std::string UpperCase(const kwsys_std::string&); /** + * do a case-independent string comparison + */ + static int Strucmp(const char *s1, const char *s2); + + /** * Replace Windows file system slashes with Unix-style slashes. */ static void ConvertToUnixSlashes(kwsys_std::string& path); @@ -123,6 +128,12 @@ public: /** Return true if a file exists in the current directory. */ static bool FileExists(const char* filename); + static unsigned long FileLength(const char *filename); + /** + * given a (possibly) relative path, return the completely + * qualified path to a file system entity + */ + static char *RealPath(const char *path, char *resolved_path); /** * Add the paths from the environment variable PATH to the * string vector passed in. |