1@node isgraph
2@section @code{isgraph}
3@findex isgraph
4
5POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/isgraph.html}
6
7Gnulib module: ctype
8
9Portability problems fixed by Gnulib:
10@itemize
11@item
12This function cannot be called from plain inline or extern inline functions
13on some platforms:
14OS X 10.8.
15@end itemize
16
17Portability problems not fixed by Gnulib:
18@itemize
19@end itemize
20
21Note: This function's behaviour depends on the locale, but does not support
22the multibyte characters that occur in strings in locales with
23@code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales).
24There are four alternative APIs:
25
26@table @code
27@item c_isgraph
28This function operates in a locale independent way and returns true only for
29ASCII characters.  It is provided by the Gnulib module @samp{c-ctype}.
30
31@item iswgraph
32This function operates in a locale dependent way, on wide characters.  In
33order to use it, you first have to convert from multibyte to wide characters,
34using the @code{mbrtowc} function.  It is provided by the Gnulib module
35@samp{wctype}.
36
37@item mb_isgraph
38This function operates in a locale dependent way, on multibyte characters.
39It is provided by the Gnulib module @samp{mbchar}.
40
41@item uc_is_graph
42This function operates in a locale independent way, on Unicode characters.
43It is provided by the Gnulib module @samp{unictype/ctype-graph}.
44@end table
45