Mercurial > hg > octave-jordi > gnulib-hg
annotate doc/posix-functions/isblank.texi @ 18079:4c948fd76734 default tip master
autoupdate
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Mon, 24 Aug 2015 06:09:19 -0700 |
parents | fc6f79af802f |
children |
rev | line source |
---|---|
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node isblank |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @section @code{isblank} |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex isblank |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
13549
bb0ceefd22dc
avoid some overlong lines from posix urls, etc.
Karl Berry <karl@freefriends.org>
parents:
12186
diff
changeset
|
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/isblank.html} |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
12184 | 7 Gnulib module: isblank |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 Portability problems fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 @itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 This function is missing on some platforms: |
15607
6355dc4626b5
doc: Update regarding MSVC 9.
Bruno Haible <bruno@clisp.org>
parents:
13549
diff
changeset
|
13 AIX 4.3.2, IRIX 6.5, OSF/1 5.1, Solaris 9, mingw, MSVC 9. |
17496
fc6f79af802f
extern-inline: document fixes for ctype and wctype macros
Paul Eggert <eggert@cs.ucla.edu>
parents:
15607
diff
changeset
|
14 @item |
fc6f79af802f
extern-inline: document fixes for ctype and wctype macros
Paul Eggert <eggert@cs.ucla.edu>
parents:
15607
diff
changeset
|
15 This function cannot be called from plain inline or extern inline functions |
fc6f79af802f
extern-inline: document fixes for ctype and wctype macros
Paul Eggert <eggert@cs.ucla.edu>
parents:
15607
diff
changeset
|
16 on some platforms: |
fc6f79af802f
extern-inline: document fixes for ctype and wctype macros
Paul Eggert <eggert@cs.ucla.edu>
parents:
15607
diff
changeset
|
17 OS X 10.8. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 @end itemize |
12184 | 19 |
20 Portability problems not fixed by Gnulib: | |
21 @itemize | |
22 @end itemize | |
12186
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
23 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
24 Note: This function's behaviour depends on the locale, but does not support |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
25 the multibyte characters that occur in strings in locales with |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
26 @code{MB_CUR_MAX > 1} (this includes all the common UTF-8 locales). |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
27 There are four alternative APIs: |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
28 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
29 @table @code |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
30 @item c_isblank |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
31 This function operates in a locale independent way and returns true only for |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
32 ASCII characters. It is provided by the Gnulib module @samp{c-ctype}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
33 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
34 @item iswblank |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
35 This function operates in a locale dependent way, on wide characters. In |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
36 order to use it, you first have to convert from multibyte to wide characters, |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
37 using the @code{mbrtowc} function. It is provided by the Gnulib module |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
38 @samp{wctype}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
39 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
40 @item mb_isblank |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
41 This function operates in a locale dependent way, on multibyte characters. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
42 It is provided by the Gnulib module @samp{mbchar}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
43 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
44 @item uc_is_blank |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
45 This function operates in a locale independent way, on Unicode characters. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
46 It is provided by the Gnulib module @samp{unictype/ctype-blank}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
12184
diff
changeset
|
47 @end table |