summaryrefslogtreecommitdiff
path: root/doc/posix-functions/towupper.texi
blob: bd29eec9ad0acb54f1b3e4c2d016df03f4707779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
@node towupper
@section @code{towupper}
@findex towupper

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/towupper.html}

Gnulib module: wctype-h

Portability problems fixed by Gnulib:
@itemize
@item
This function returns values of which the upper 16 bits are incorrect
on some platforms:
mingw.
@item
This function cannot be called from plain inline or extern inline functions
on some platforms:
OS X 10.8.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot
accommodate all Unicode characters.
However, the Gnulib function @code{c32toupper}, provided by Gnulib module
@code{c32toupper}, operates on 32-bit wide characters and therefore does not
have this limitation.
@item
This function returns wrong values even for the ASCII characters
in a zh_CN.GB18030 locale on some platforms:
@c https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=57339
NetBSD 9.0.
@end itemize