libc: Implement local_t related functions

since local_t isn't really implemented on NuttX,
we can simply redirect to the non-locale version.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2021-07-28 22:44:44 +08:00 committed by Gustavo Henrique Nihei
parent decf7d0ad9
commit cdc781bdfd
7 changed files with 67 additions and 2 deletions

View file

@ -53,6 +53,9 @@
#define bzero(s,n) (void)memset(s,0,n)
#endif
#define strcasecmp_l(s1, s2, l) strcasecmp(s1, s2)
#define strncasecmp_l(s1, s2, n, l) strncasecmp(s1, s2, n)
/****************************************************************************
* Inline Functions
****************************************************************************/