From e97935b9c3b3c745d6264f9fad8afd912dbd366d Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 12 Nov 2018 01:46:18 -0600 Subject: wchar: Implement __wcstol_internal --- libgcompat/wchar.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'libgcompat') diff --git a/libgcompat/wchar.c b/libgcompat/wchar.c index 1ddaa1f..823c3e3 100644 --- a/libgcompat/wchar.c +++ b/libgcompat/wchar.c @@ -38,3 +38,15 @@ int __vswprintf_chk(wchar_t *s, size_t n, int flag, size_t slen, return vswprintf(s, n, format, ap); } + +/** + * Representation of the glibc internals of wcstol(3). + * + * LSB 5.0: LSB-Core-generic/baselib---wcstol-internal-1.html + */ +long int __wcstol_internal(const wchar_t *nptr, wchar_t **endptr, int base, + int group) +{ + assert(group == 0); + return wcstol(nptr, endptr, base); +} -- cgit v1.2.3-70-g09d2