mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
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:
parent
decf7d0ad9
commit
cdc781bdfd
7 changed files with 67 additions and 2 deletions
|
|
@ -66,6 +66,12 @@
|
|||
# define environ get_environ_ptr()
|
||||
#endif
|
||||
|
||||
#define strtof_l(s, e, l) strtof(s, e)
|
||||
#define strtod_l(s, e, l) strtod(s, e)
|
||||
#define strtold_l(s, e, l) strtold(s, e)
|
||||
#define strtoll_l(s, e, b, l) strtoll(s, e, b)
|
||||
#define strtoull_l(s, e, b, l) strtoull(s, e, b)
|
||||
|
||||
/****************************************************************************
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue