summaryrefslogtreecommitdiff
path: root/include/wchar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 792fad6..ff635eb 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -105,7 +105,7 @@ __diagnose_as_builtin(__builtin_wcrtomb, 1, 2, 3)
105#endif 105#endif
106_FORTIFY_FN(wcrtomb) size_t wcrtomb(char * __s, wchar_t __w, mbstate_t *__st) 106_FORTIFY_FN(wcrtomb) size_t wcrtomb(char * __s, wchar_t __w, mbstate_t *__st)
107{ 107{
108 // In glibc, MB_LEN_MAX is typically 16 (6 in glibc versions earlier than 2.2) 108 /* In glibc, MB_LEN_MAX is typically 16 (6 in glibc versions earlier than 2.2) */
109 if (__s && 16 > __fh_bos(__s, 2)) { 109 if (__s && 16 > __fh_bos(__s, 2)) {
110 char __buf[16]; 110 char __buf[16];
111 __fh_size_t __r; 111 __fh_size_t __r;