diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-27 19:17:39 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-27 19:17:39 -0500 |
| commit | e1477898d0203dae4b2fe9ad62998bc27d4b4fc9 (patch) | |
| tree | bda9ccc11307e41de7c5a4e6e4e92088fe4b1804 /src/wchar/wcstoll.c | |
| parent | fcb83049b1942fafa784fc51869818651c04acbb (diff) | |
add common _strtoi function body
Diffstat (limited to 'src/wchar/wcstoll.c')
| -rw-r--r-- | src/wchar/wcstoll.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/wchar/wcstoll.c b/src/wchar/wcstoll.c index fc231433..60c4a475 100644 --- a/src/wchar/wcstoll.c +++ b/src/wchar/wcstoll.c @@ -1,7 +1,16 @@ #include <wchar.h> +#include "limits.h" +#include "errno.h" long long int wcstoll(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base) { + long long int ret = 0; + long long int max = LLONG_MAX; + long long int min = LLONG_MIN; + + #include "../stdlib/_strtoi.h" + + return ret; } /* |
