Mercurial > hg > octave-shane > gnulib-hg
annotate doc/posix-functions/isdigit.texi @ 13549:bb0ceefd22dc
avoid some overlong lines from posix urls, etc.
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Fri, 13 Aug 2010 11:50:58 -0700 |
parents | f3ad15bb66b0 |
children | fc6f79af802f |
rev | line source |
---|---|
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node isdigit |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @section @code{isdigit} |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex isdigit |
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/isdigit.html} |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 Gnulib module: --- |
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 @end itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 Portability problems not fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 @itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 @end itemize |
12186
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
16 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
17 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:
10876
diff
changeset
|
18 the multibyte characters that occur in strings in locales with |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
19 @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:
10876
diff
changeset
|
20 There are four alternative APIs: |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
21 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
22 @table @code |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
23 @item c_isdigit |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
24 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:
10876
diff
changeset
|
25 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:
10876
diff
changeset
|
26 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
27 @item iswdigit |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
28 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:
10876
diff
changeset
|
29 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:
10876
diff
changeset
|
30 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:
10876
diff
changeset
|
31 @samp{wctype}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
32 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
33 @item mb_isdigit |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
34 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:
10876
diff
changeset
|
35 It is provided by the Gnulib module @samp{mbchar}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
36 |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
37 @item uc_is_digit |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
38 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:
10876
diff
changeset
|
39 It is provided by the Gnulib module @samp{unictype/ctype-digit}. |
f3ad15bb66b0
Document the alternative APIs for character classification.
Bruno Haible <bruno@clisp.org>
parents:
10876
diff
changeset
|
40 @end table |