diff options
Diffstat (limited to 'libc/string/string.c')
-rw-r--r-- | libc/string/string.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libc/string/string.c b/libc/string/string.c index 2a689ccef..d5f3a3e59 100644 --- a/libc/string/string.c +++ b/libc/string/string.c @@ -77,6 +77,13 @@ int strcmp(const char *s1, const char *s2) } #endif +#ifdef L_strcoll +int strcoll(const char *s1, const char *s2) +{ + return( strcmp(s1, s2)); +} +#endif + /********************** Function strncat ************************************/ #ifdef L_strncat @@ -113,6 +120,13 @@ char *strncpy(char *dst, const char *src, size_t len) } #endif +#ifdef L_strxfrm +char *strncpy(char *dst, const char *src, size_t len) +{ + return( strncpy( dst, src, len)); +} +#endif + /********************** Function strncmp ************************************/ #ifdef L_strncmp |