blob: f413c14f65e2a69b4ea7d4cd78e9caadb7ac93e2 [file] [edit]
@node iswpunct
@subsection @code{iswpunct}
@findex iswpunct
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/iswpunct.html}
Gnulib module: iswpunct
@mindex iswpunct
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8.
@item
This function cannot be called from plain inline or extern inline functions
on some platforms:
macOS 10.8.
@item
This function is inconsistent with the @code{ispunct} function, because it
returns false for the characters @code{'$'}, @code{'+'}, @code{'<'},
@code{'='}, @code{'>'}, @code{'^'}, @code{'`'} , @code{'|'}, @code{'~'}
on some platforms:
Android 11.
@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.
@mindex c32ispunct
However, the Gnulib function @code{c32ispunct}, provided by Gnulib module
@code{c32ispunct}, operates on 32-bit wide characters and therefore does not
have this limitation.
@end itemize