|
libtcod
|
Miscellaneous tools needed across platforms. More...
Go to the source code of this file.
Functions | |
| char * | TCOD_strdup (const char *s) |
| Allocate and return a duplicate of string s. | |
| int | TCOD_strcasecmp (const char *s1, const char *s2) |
| Compare two ASCII strings ignoring case. | |
| int | TCOD_strncasecmp (const char *s1, const char *s2, size_t n) |
| Compare two ASCII strings ignoring case. | |
Miscellaneous tools needed across platforms.
| int TCOD_strcasecmp | ( | const char * | s1, |
| const char * | s2 ) |
Compare two ASCII strings ignoring case.
Returns 0 if the strings are equal.
| char * TCOD_strdup | ( | const char * | s | ) |
Allocate and return a duplicate of string s.
The returned memory must be freed manually.
| int TCOD_strncasecmp | ( | const char * | s1, |
| const char * | s2, | ||
| size_t | n ) |
Compare two ASCII strings ignoring case.
Returns 0 if the strings are equal.