avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / isblank.texi
1 @node isblank
2 @section @code{isblank}
3 @findex isblank
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/isblank.html}
6
7 Gnulib module: isblank
8
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 AIX 4.3.2, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw.
14 @end itemize
15
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @end itemize
19
20 Note: This function's behaviour depends on the locale, but does not support
21 the multibyte characters that occur in strings in locales with
22 @code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales).
23 There are four alternative APIs:
24
25 @table @code
26 @item c_isblank
27 This function operates in a locale independent way and returns true only for
28 ASCII characters.  It is provided by the Gnulib module @samp{c-ctype}.
29
30 @item iswblank
31 This function operates in a locale dependent way, on wide characters.  In
32 order to use it, you first have to convert from multibyte to wide characters,
33 using the @code{mbrtowc} function.  It is provided by the Gnulib module
34 @samp{wctype}.
35
36 @item mb_isblank
37 This function operates in a locale dependent way, on multibyte characters.
38 It is provided by the Gnulib module @samp{mbchar}.
39
40 @item uc_is_blank
41 This function operates in a locale independent way, on Unicode characters.
42 It is provided by the Gnulib module @samp{unictype/ctype-blank}.
43 @end table