File: wctype.3

package info (click to toggle)
manpages-fr 1.58.1-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,104 kB
  • ctags: 4
  • sloc: makefile: 106; sh: 8
file content (59 lines) | stat: -rw-r--r-- 2,765 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" References consulted:
.\"   GNU glibc-2 source code and manual
.\"   Dinkumware C library reference http://www.dinkumware.com/
.\"   OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\"   ISO/IEC 9899:1999
.\"
.\" Traduction 28/08/2000 par Christophe Blaess (ccb@club-internet.fr)
.\" LDP 1.30
.\" MJ 21/07/2003 LDP-1.56
.TH WCTYPE 3 "21 juillet 2003" LDP "Manuel du programmeur Linux"
.SH NOM
wctype \- Classification des caractres larges.
.SH SYNOPSIS
.nf
.B #include <wctype.h>
.sp
.BI "wctype_t wctype (const char *" nom );
.fi
.SH DESCRIPTION
Le type \fBwctype_t\fP reprsente une proprit qu'un caractre large peut avoir ou non. En d'autres
termes, il reprsente une classe de caractres larges. La nature exacte de ce type dpend de l'implmentation,
mais la valeur spciale \fI(wctype_t)0\fP correspond  une proprit invalide.
Un \fBwctype_t\fP non nul peut tre transmis  la fonction \fBiswctype\fP pour vrifier si un caractre large
a ou non la proprit correspondante.
.PP
La fonction \fBwctype\fP renvoie une proprit  partir de son nom. Les noms valides dpendent de la catgorie
LC_CTYPE de la localisation, mais les noms suivants sont toujours valides quelque soit la localisation.
.nf
  "alnum" - correspond  la fonction de classification \fBisalnum\fP
  "alpha" - correspond  la fonction de classification \fBisalpha\fP
  "blank" - correspond  la fonction de classification \fBisblank\fP
  "cntrl" - correspond  la fonction de classification \fBiscntrl\fP
  "digit" - correspond  la fonction de classification \fBisdigit\fP
  "graph" - correspond  la fonction de classification \fBisgraph\fP
  "lower" - correspond  la fonction de classification \fBislower\fP
  "print" - correspond  la fonction de classification \fBisprint\fP
  "punct" - correspond  la fonction de classification \fBispunct\fP
  "space" - correspond  la fonction de classification \fBisspace\fP
  "upper" - correspond  la fonction de classification \fBisupper\fP
  "xdigit" - correspond  la fonction de classification \fBisxdigit\fP
.fi
.SH "VALEUR RENVOYE"
La fonction \fBwctype\fP renvoie un descripteur de proprit si le \fInom\fP est valide. Sinon elle
renvoie \fI(wctype_t)0\fP.
.SH "CONFORMIT"
ISO/ANSI C, UNIX98
.SH "VOIR AUSSI"
.BR iswctype (3)
.SH NOTES
Le comportement de la fonction \fBwctype\fP dpend de la catgorie LC_CTYPE de la localisation.
.SH TRADUCTION
Christophe Blaess, 2000-2003.