diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2020-12-16 09:02:09 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2020-12-16 09:02:09 +0000 |
commit | 675079b1ea61b310f3a42cb0d352a49c1780f89a (patch) | |
tree | 7d64c951570ee08638e4ab57c24553243d076169 /include | |
parent | 3ab53b27e318f065bd133bccdf022ec0e994d4d0 (diff) | |
download | src-test2-675079b1ea61b310f3a42cb0d352a49c1780f89a.tar.gz src-test2-675079b1ea61b310f3a42cb0d352a49c1780f89a.zip |
Implement strerror_l().
Only for the arches that provide user-mode TLS.
PR: 251651
Requested by: yuri
Discussed with: emaste, jilles, tijl
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D27495
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=368692
Diffstat (limited to 'include')
-rw-r--r-- | include/xlocale/_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/xlocale/_string.h b/include/xlocale/_string.h index 7fdad7562860..6df9132de171 100644 --- a/include/xlocale/_string.h +++ b/include/xlocale/_string.h @@ -46,6 +46,7 @@ typedef struct _xlocale *locale_t; * POSIX2008 functions */ int strcoll_l(const char *, const char *, locale_t); +char *strerror_l(int num, locale_t); size_t strxfrm_l(char *, const char *, size_t, locale_t); #endif /* _XLOCALE_STRING1_H */ |