(file) Return to System.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/System.h between version 1.86 and 1.87

version 1.86, 2008/12/16 18:56:00 version 1.87, 2009/12/15 11:39:34
Line 394 
Line 394 
     static Boolean truncateFile(const char* path, size_t newSize);     static Boolean truncateFile(const char* path, size_t newSize);
  
     /** Compare two strings but ignore any case differences.     /** Compare two strings but ignore any case differences.
         This method is provided only because some platforms lack a strcasecmp          This method is provided only because some platforms lack a fast enough
         function in the standard library.          strcasecmp function in the standard library.
     */     */
     static Sint32 strcasecmp(const char* s1, const char* s2);     static Sint32 strcasecmp(const char* s1, const char* s2);
  
       /** Compare two strings for equality but ignore any case differences.
           This method should only be used if length of both strings is
           known already. If not, please use System::strcasecmp()
       */
       static bool strncasecmp(
           const char* s1,
           size_t s1_l,
           const char* s2,
           size_t s2_l);
   
     /** Return just the file or directory name from the path into basename.     /** 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.         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,         The path can be relative or absolute. If the path is the root,


Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2