source: trunk/libs/newlib/src/newlib/libc/stdlib/dtoastub.c @ 543

Last change on this file since 543 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 388 bytes
Line 
1#include <_ansi.h>
2#include <stdlib.h>
3#include <reent.h>
4#include <string.h>
5
6/* Nothing in newlib actually *calls* dtoa, they all call _dtoa_r, so this
7   is a safe way of providing it to the user. */
8#ifndef _REENT_ONLY
9
10char *
11__dtoa (double d,
12        int mode,
13        int ndigits,
14        int *decpt,
15        int *sign,
16        char **rve)
17{
18  return _dtoa_r (_REENT, d, mode, ndigits, decpt, sign, rve);
19}
20
21#endif
Note: See TracBrowser for help on using the repository browser.