ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/gclib/gclib/GBase.h
(Generate patch)
# Line 48 | Line 48
48    #include <unistd.h>
49   #endif
50  
51 + #ifndef fseeko
52 + #define fseeko fseek
53 + #endif
54 + #ifndef ftello
55 + #define ftello ftell
56 + #endif
57  
58   #ifdef DEBUG
59   #undef NDEBUG
# Line 268 | Line 274
274   char* strchrs(const char* s, const char* chrs);
275   //strchr but with a set of chars instead of only one
276  
277 < char* rstrfind(const char* str, const char *substr); /* like rindex() but for strings
278 < or like the right side version of strstr()
279 < */
280 < //reverse character string or
275 < char* reverseChars(char* str, int slen=0);
277 > char* rstrfind(const char* str, const char *substr);
278 > // like rindex() but for strings;  right side version of strstr()
279 >
280 > char* reverseChars(char* str, int slen=0); //in place reversal of string
281  
282   char* rstrstr(const char* rstart, const char *lend, const char* substr);
283   /*the reversed, rightside equivalent of strstr: starts searching

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines