added strncmp
This commit is contained in:
parent
272eaf7003
commit
4c8ffafc9a
@ -60,7 +60,7 @@
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
//#define MEMLEAK
|
||||
/*#define MEMLEAK*/
|
||||
|
||||
#if defined(_WIN32)
|
||||
static CRITICAL_SECTION g_term_mutex;
|
||||
@ -975,6 +975,12 @@ int g_strcmp(char* c1, char* c2)
|
||||
return strcmp(c1, c2);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
int g_strncmp(char* c1, char* c2, int len)
|
||||
{
|
||||
return strncmp(c1, c2, len);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
long g_load_library(char* in)
|
||||
{
|
||||
|
@ -83,6 +83,7 @@ char* g_strncpy(char* dest, char* src, int len);
|
||||
char* g_strcat(char* dest, char* src);
|
||||
char* g_strdup(char* in);
|
||||
int g_strcmp(char* c1, char* c2);
|
||||
int g_strncmp(char* c1, char* c2, int len);
|
||||
long g_load_library(char* in);
|
||||
int g_free_library(long lib);
|
||||
void* g_get_proc_address(long lib, char* name);
|
||||
|
Loading…
Reference in New Issue
Block a user