diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2016-08-10 16:30:46 +0200 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2016-08-15 17:35:21 +0200 |
commit | 238455adfab4f8070ac65400aac22bb8a9e502fc (patch) | |
tree | 68dbe978bc7250338ba2de4bab0db5f2feb81b32 /winsup | |
parent | 5ef60b7e6a0abad86fe637197f738f8a90b525c8 (diff) | |
download | newlib-238455adfab4f8070ac65400aac22bb8a9e502fc.zip newlib-238455adfab4f8070ac65400aac22bb8a9e502fc.tar.gz newlib-238455adfab4f8070ac65400aac22bb8a9e502fc.tar.bz2 |
Implement strto[dflu]_l/wcsto[dflu]_l
Implement GNU extensions strtod_l, strtof_l, strtol_l, strtold_l, strtoll_l,
strtoul_l, strtoull_l, wcstod_l, wcstof_l, wcstol_l, wcstold_l, wcstoll_l,
wcstoul_l, wcstoull_l.
Export from Cygwin, fix posix.xml.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/common.din | 14 | ||||
-rw-r--r-- | winsup/cygwin/include/cygwin/version.h | 5 | ||||
-rw-r--r-- | winsup/doc/posix.xml | 22 |
3 files changed, 36 insertions, 5 deletions
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din index 2cc8264..f945078 100644 --- a/winsup/cygwin/common.din +++ b/winsup/cygwin/common.din @@ -1366,16 +1366,23 @@ strsignal SIGFE strspn NOSIGFE strstr NOSIGFE strtod SIGFE +strtod_l SIGFE strtof SIGFE +strtof_l SIGFE strtoimax = strtoll NOSIGFE strtok NOSIGFE strtok_r NOSIGFE strtol NOSIGFE +strtol_l NOSIGFE strtold SIGFE +strtold_l SIGFE strtoll NOSIGFE +strtoll_l NOSIGFE strtosigno NOSIGFE strtoul NOSIGFE +strtoul_l NOSIGFE strtoull NOSIGFE +strtoull_l NOSIGFE strtoumax = strtoull NOSIGFE strupr NOSIGFE strxfrm NOSIGFE @@ -1527,15 +1534,22 @@ wcsrtombs NOSIGFE wcsspn NOSIGFE wcsstr NOSIGFE wcstod NOSIGFE +wcstod_l NOSIGFE wcstof NOSIGFE +wcstof_l NOSIGFE wcstoimax = wcstoll NOSIGFE wcstok NOSIGFE wcstol NOSIGFE +wcstol_l NOSIGFE wcstold NOSIGFE +wcstold_l NOSIGFE wcstoll NOSIGFE +wcstoll_l NOSIGFE wcstombs NOSIGFE wcstoul NOSIGFE +wcstoul_l NOSIGFE wcstoull NOSIGFE +wcstoull_l NOSIGFE wcstoumax = wcstoull NOSIGFE wcswidth NOSIGFE wcsxfrm NOSIGFE diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h index ee8011d..0e00ae1 100644 --- a/winsup/cygwin/include/cygwin/version.h +++ b/winsup/cygwin/include/cygwin/version.h @@ -463,12 +463,15 @@ details. */ toupper_l, towctrans_l, towlower_l, towupper_l, wctrans_l, wctype_l. 300: Export strcasecmp_l, strcoll_l, strfmon_l, strftime_l, strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, wcstrxfrm_l. + 301: Export strtod_l, strtof_l, strtol_l, strtold_l, strtoll_l, strtoul_l, + strtoull_l, wcstod_l, wcstof_l, wcstol_l, wcstold_l, wcstoll_l, + wcstoul_l, wcstoull_l. Note that we forgot to bump the api for ualarm, strtoll, strtoull, sigaltstack, sethostname. */ #define CYGWIN_VERSION_API_MAJOR 0 -#define CYGWIN_VERSION_API_MINOR 300 +#define CYGWIN_VERSION_API_MINOR 301 /* There is also a compatibity version number associated with the shared memory regions. It is incremented when incompatible changes are made to the shared diff --git a/winsup/doc/posix.xml b/winsup/doc/posix.xml index 48499fb..5a1e040 100644 --- a/winsup/doc/posix.xml +++ b/winsup/doc/posix.xml @@ -1290,11 +1290,11 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> exp10l fcloseall fcloseall_r - fegetprec - fesetprec - feenableexcept fedisableexcept + feenableexcept fegetexcept + fegetprec + fesetprec ffsl ffsll fgets_unlocked @@ -1310,9 +1310,9 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> fsetxattr get_avphys_pages get_current_dir_name - get_phys_pages get_nprocs get_nprocs_conf + get_phys_pages getmntent_r getopt_long getopt_long_only @@ -1350,6 +1350,13 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> sincosf sincosl strchrnul + strtod_l + strtof_l + strtol_l + strtold_l + strtoll_l + strtoul_l + strtoull_l sysinfo tdestroy timegm @@ -1360,6 +1367,13 @@ also IEEE Std 1003.1-2008 (POSIX.1-2008).</para> vasnprintf vasprintf vasprintf_r + wcstod_l + wcstof_l + wcstol_l + wcstold_l + wcstoll_l + wcstoul_l + wcstoull_l </screen> </sect1> |