summaryrefslogtreecommitdiff
path: root/usr/src/lib/libc/inc/libc.h
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2015-08-12 03:34:32 +0000
committerRobert Mustacchi <rm@joyent.com>2015-10-05 15:46:09 -0700
commitb599bd937c305a895426e8c412ca920ce7824850 (patch)
tree72cc9eab6e28466c67559fad214f2fd8f569fc0b /usr/src/lib/libc/inc/libc.h
parent2e4218261bfb4720d6310a5247487667d7448732 (diff)
downloadillumos-gate-b599bd937c305a895426e8c412ca920ce7824850.tar.gz
5821 need strerror_l()
6133 message translations don't honor per-thread locales 6142 extra space in newlocale synopsis 6181 symbol test shouldn't leave gcc fix-includes to chance Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Josef 'Jeff' Sipek <josef.sipek@nexenta.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/lib/libc/inc/libc.h')
-rw-r--r--usr/src/lib/libc/inc/libc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/src/lib/libc/inc/libc.h b/usr/src/lib/libc/inc/libc.h
index 5feca8b80f..86d894b3de 100644
--- a/usr/src/lib/libc/inc/libc.h
+++ b/usr/src/lib/libc/inc/libc.h
@@ -311,6 +311,11 @@ extern wint_t _putwc(wint_t, FILE *);
*/
extern wint_t __ungetwc_xpg5(wint_t, FILE *);
+/*
+ * Defined in setlocale.c.
+ */
+extern char *current_locale(locale_t, int);
+
#ifdef __cplusplus
}
#endif