Print this page
Garrett's man page edits.
   1 '\" te

   2 .\" Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.  Portions Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   4 .\" http://www.opengroup.org/bookstore/.
   5 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   6 .\"  This notice shall appear on any product containing this material.
   7 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   8 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   9 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  10 .TH ISWALPHA 3C "Apr 19, 2004"
  11 .SH NAME
  12 iswalpha, isenglish, isideogram, iswideogram, isnumber, iswnumber,
  13 isphonogram, iswphonogram, isspecial, iswspecial, iswalnum, iswascii,
  14 iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct,
  15 iswspace, iswupper, iswxdigit, iswhexnumber, iswalpha_l, iswideogram_l,
  16 iswnumber_l, iswphonogram_l, iswspecial_l, iswalnum_l, iswascii_l,
  17 iswblank_l, iswcntrl_l, iswdigit_l, iswgraph_l, iswlower_l, iswprint_l,
  18 iswpunct_l, iswspace_l, iswupper_l, iswhexnumber_l \- wide-character
  19 code classification functions
  20 
  21 .SH SYNOPSIS
  22 .LP
  23 .nf
  24 #include <wchar.h>
  25 #include <wctype.h>
  26 
  27 \fBint\fR \fBiswalpha\fR(\fBwint_t\fR \fIwc\fR);
  28 .fi
  29 
  30 .LP
  31 .nf
  32 \fBint\fR \fBisenglish\fR(\fBwint_t\fR \fIwc\fR);
  33 .fi
  34 
  35 .LP
  36 .nf
  37 \fBint\fR \fBisideogram\fR(\fBwint_t\fR \fIwc\fR);
  38 .fi
  39 
  40 .LP
  41 .nf
  42 \fBint\fR \fBisnumber\fR(\fBwint_t\fR \fIwc\fR);
  43 .fi
  44 
  45 .LP
  46 .nf
  47 \fBint\fR \fBisphonogram\fR(\fBwint_t\fR \fIwc\fR);
  48 .fi
  49 
  50 .LP
  51 .nf
  52 \fBint\fR \fBisspecial\fR(\fBwint_t\fR \fIwc\fR);
  53 .fi
  54 
  55 .LP
  56 .nf
  57 \fBint\fR \fBiswalnum\fR(\fBwint_t\fR \fIwc\fR);
  58 .fi
  59 
  60 .LP
  61 .nf
  62 \fBint\fR \fBiswascii\fR(\fBwint_t\fR \fIwc\fR);
  63 .fi
  64 
  65 .LP
  66 .nf
  67 \fBint\fR \fBiswblank\fR(\fBwint_t\fR \fIwc\fR);
  68 .fi
  69 
  70 .LP
  71 .nf
  72 \fBint\fR \fBiswcntrl\fR(\fBwint_t\fR \fIwc\fR);
  73 .fi
  74 
  75 .LP
  76 .nf
  77 \fBint\fR \fBiswdigit\fR(\fBwint_t\fR \fIwc\fR);
  78 .fi
  79 
  80 .LP
  81 .nf
  82 \fBint\fR \fBiswgraph\fR(\fBwint_t\fR \fIwc\fR);
  83 .fi
  84 
  85 .LP
  86 .nf
  87 \fBint\fR \fBiswlower\fR(\fBwint_t\fR \fIwc\fR);
  88 .fi
  89 
  90 .LP
  91 .nf
  92 \fBint\fR \fBiswprint\fR(\fBwint_t\fR \fIwc\fR);
  93 .fi
  94 
  95 .LP
  96 .nf
  97 \fBint\fR \fBiswpunct\fR(\fBwint_t\fR \fIwc\fR);
  98 .fi
  99 
 100 .LP
 101 .nf
 102 \fBint\fR \fBiswspace\fR(\fBwint_t\fR \fIwc\fR);
 103 .fi
 104 
 105 .LP
 106 .nf
 107 \fBint\fR \fBiswupper\fR(\fBwint_t\fR \fIwc\fR);
 108 .fi
 109 
 110 .LP
 111 .nf
 112 \fBint\fR \fBiswxdigit\fR(\fBwint_t\fR \fIwc\fR);
 113 .fi
 114 
 115 .LP
 116 .nf




 117 \fBint\fR \fBiswideogram\fR(\fBwint_t\fR \fIwc\fR);
 118 .fi
 119 
 120 .LP
 121 .nf
 122 \fBint\fR \fBiswnumber\fR(\fBwint_t\fR \fIwc\fR);
 123 .fi
 124 
 125 .LP
 126 .nf
 127 \fBint\fR \fBiswphonogram\fR(\fBwint_t\fR \fIwc\fR);
 128 .fi
 129 
 130 .LP
 131 .nf
 132 \fBint\fR \fBiswspecial\fR(\fBwint_t\fR \fIwc\fR);
 133 .fi
 134 
 135 XXX
 136 
 137 .LP
 138 .nf
 139 \fBint\fR \fBiswalpha\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 140 .fi
 141 
 142 .LP
 143 .nf
 144 \fBint\fR \fBiswideogram\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 145 .fi
 146 
 147 .LP
 148 .nf
 149 \fBint\fR \fBiswnumber\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 150 .fi
 151 
 152 .LP
 153 .nf
 154 \fBint\fR \fBiswphonogram\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 155 .fi
 156 
 157 .LP
 158 .nf
 159 \fBint\fR \fBiswspecial\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 160 .fi
 161 
 162 .LP
 163 .nf
 164 \fBint\fR \fBiswalnum\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 165 .fi
 166 
 167 .LP
 168 .nf
 169 \fBint\fR \fBiswascii\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 170 .fi
 171 
 172 .LP
 173 .nf
 174 \fBint\fR \fBiswblank\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 175 .fi
 176 
 177 .LP
 178 .nf
 179 \fBint\fR \fBiswcntrl\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 180 .fi
 181 
 182 .LP
 183 .nf
 184 \fBint\fR \fBiswdigit\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 185 .fi
 186 
 187 .LP
 188 .nf
 189 \fBint\fR \fBiswgraph\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 190 .fi
 191 
 192 .LP
 193 .nf
 194 \fBint\fR \fBiswlower\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 195 .fi
 196 
 197 .LP
 198 .nf
 199 \fBint\fR \fBiswprint\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 200 .fi
 201 
 202 .LP
 203 .nf
 204 \fBint\fR \fBiswpunct\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 205 .fi
 206 
 207 .LP
 208 .nf
 209 \fBint\fR \fBiswspace\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 210 .fi
 211 
 212 .LP
 213 .nf
 214 \fBint\fR \fBiswupper\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 215 .fi
 216 
 217 .LP
 218 .nf
 219 \fBint\fR \fBiswxdigit\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 220 .fi
 221 
 222 #include <xlocale.h>
 223 
 224 .LP
 225 .nf
 226 \fBint\fR \fBiswhexnumber\fR(\fBwint_t\fR \fIwc\fR);
 227 .fi
 228 
 229 .LP
 230 .nf
 231 \fBint\fR \fBiswhexnumber\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 232 .fi
 233 
 234 .SH DESCRIPTION
 235 .sp
 236 .LP
 237 These functions test whether \fIwc\fR is a wide-character code representing a
 238 character of a particular class defined in the \fBLC_CTYPE\fR category of the
 239 current locale as determined by \fBsetlocale\fR(3C) and
 240 \fBuselocale\fR(3C).
 241 .sp
 242 .LP
 243 The functions \fBiswalpha_l()\fR, \fBiswideogram_l()\fR, \fBiswnumber_l()\fR,
 244 \fBiswphonogram_l()\fR, \fBiswspecial_l()\fR, \fBiswalnum_l()\fR,
 245 \fBiswascii_l()\fR, \fBiswblank_l()\fR, \fBiswcntrl_l()\fR, \fBiswdigit_l()\fR,
 246 \fBiswgraph_l()\fR, \fBiswlower_l()\fR, \fBiswprint_l()\fR, \fBiswpunct_l()\fR,
 247 \fBiswspace_l()\fR, \fBiswupper_l()\fR, all behave identically to their
 248 counterparts without the '\fB_l\fR' suffix, but instead of operating on the
 249 current locale, they operate on the locale specified by \fIloc\fR.
 250 .sp
 251 .LP
 252 The functions, \fBiswideogram()\fR, \fBiswnumber()\fR, \fBiswphonogram()\fR,
 253 \fBiswspecial()\fR, and \fBiswhexnumber()\fR, are respectively identical to
 254 \fBisideogram()\fR, \fBisnumber()\fR, \fBisphonogram()\fR, \fBisspecial()\fR,
 255 \fBiswxdigit()\fR respectively.  They are provided for compatability purposes.
 256 .sp
 257 .LP
 258 In all cases, \fIwc\fR is a \fBwint_t\fR, the value of which must be a
 259 wide-character code corresponding to a valid character in the current locale or
 260 must equal the value of the macro \fBWEOF\fR. If the argument has any other
 261 values, the behavior is undefined.
 262 .sp
 263 .ne 2
 264 .na
 265 \fB\fBiswalpha(\fR\fIwc\fR\fB)\fR\fR
 266 .ad
 267 .RS 19n
 268 Tests whether \fIwc\fR is a wide-character code representing a character of
 269 class "alpha" in the program's current locale.
 270 .RE
 271 
 272 .sp
 273 .ne 2
 274 .na
 275 \fB\fBisenglish(\fR\fIwc\fR\fB)\fR\fR
 276 .ad


 427 .ad
 428 .RS 19n
 429 Tests whether \fIwc\fR is a wide-character code representing a character of
 430 class "upper" in the program's current locale.
 431 .RE
 432 
 433 .sp
 434 .ne 2
 435 .na
 436 \fB\fBiswxdigit(\fR\fIwc\fR\fB)\fR\fR
 437 .ad
 438 .RS 19n
 439 Tests whether \fIwc\fR is a wide-character code representing a character of
 440 class "xdigit" in the program's current locale.
 441 .RE
 442 
 443 .SH ATTRIBUTES
 444 .sp
 445 .LP
 446 See \fBattributes\fR(5) for descriptions of the following attributes:
 447 .sp
 448 
 449 .sp
 450 .TS
 451 box;
 452 l | l
 453 l | l .
 454 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 455 _
 456 CSI     Enabled
 457 _
 458 Interface Stability     See  below.
 459 _
 460 MT-Level        MT-Safe with exceptions
 461 .TE
 462 
 463 .sp
 464 .LP
 465 The \fBiswalpha()\fR, \fBiswalnum()\fR, \fBiswblank()\fR, \fBiswcntrl()\fR,
 466 \fBiswdigit()\fR, \fBiswgraph()\fR, \fBiswlower()\fR, \fBiswprint()\fR,
 467 \fBiswpunct()\fR, \fBiswspace()\fR, \fBiswupper()\fR, and \fBiswxdigit()\fR
 468 functions are Standard.
 469 .sp
 470 .LP
 471 The \fBiswalpha_l()\fR, \fBiswalnum_l()\fR, \fBiswblank_l()\fR, \fBiswcntrl_l()\fR,
 472 \fBiswdigit_l()\fR, \fBiswgraph_l()\fR, \fBiswlower_l()\fR, \fBiswprint_l()\fR,
 473 \fBiswpunct_l()\fR, \fBiswspace_l()\fR, and \fBiswupper_l()\fR
 474 functions are Standard.
 475 .SH SEE ALSO
 476 .sp
 477 .LP
 478 \fBlocaledef\fR(1), \fBsetlocale\fR(3C), \fBstdio\fR(3C), \fBuselocale\fR(3C),

 479 \fBascii\fR(5), \fBattributes\fR(5), \fBstandards\fR(5)
   1 '\" te
   2 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
   3 .\" Copyright (c) 1992, X/Open Company Limited.  All Rights Reserved.  Portions Copyright (c) 2004, Sun Microsystems, Inc.  All Rights Reserved.
   4 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
   5 .\" http://www.opengroup.org/bookstore/.
   6 .\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
   7 .\"  This notice shall appear on any product containing this material.
   8 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   9 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
  10 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
  11 .TH ISWALPHA 3C "Jun 23, 2014"
  12 .SH NAME
  13 iswalpha, isenglish, isideogram, iswideogram, isnumber, iswnumber,
  14 isphonogram, iswphonogram, isspecial, iswspecial, iswalnum, iswascii,
  15 iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct,
  16 iswspace, iswupper, iswxdigit, iswhexnumber, iswalpha_l, iswideogram_l,
  17 iswnumber_l, iswphonogram_l, iswspecial_l, iswalnum_l, iswascii_l,
  18 iswblank_l, iswcntrl_l, iswdigit_l, iswgraph_l, iswlower_l, iswprint_l,
  19 iswpunct_l, iswspace_l, iswupper_l, iswhexnumber_l \- wide-character
  20 code classification functions
  21 
  22 .SH SYNOPSIS
  23 .LP
  24 .nf
  25 #include <wchar.h>
  26 #include <wctype.h>
  27 
  28 \fBint\fR \fBiswalpha\fR(\fBwint_t\fR \fIwc\fR);
  29 .fi

  30 .LP
  31 .nf
  32 \fBint\fR \fBisenglish\fR(\fBwint_t\fR \fIwc\fR);
  33 .fi

  34 .LP
  35 .nf
  36 \fBint\fR \fBisideogram\fR(\fBwint_t\fR \fIwc\fR);
  37 .fi

  38 .LP
  39 .nf
  40 \fBint\fR \fBisnumber\fR(\fBwint_t\fR \fIwc\fR);
  41 .fi

  42 .LP
  43 .nf
  44 \fBint\fR \fBisphonogram\fR(\fBwint_t\fR \fIwc\fR);
  45 .fi

  46 .LP
  47 .nf
  48 \fBint\fR \fBisspecial\fR(\fBwint_t\fR \fIwc\fR);
  49 .fi

  50 .LP
  51 .nf
  52 \fBint\fR \fBiswalnum\fR(\fBwint_t\fR \fIwc\fR);
  53 .fi

  54 .LP
  55 .nf
  56 \fBint\fR \fBiswascii\fR(\fBwint_t\fR \fIwc\fR);
  57 .fi

  58 .LP
  59 .nf
  60 \fBint\fR \fBiswblank\fR(\fBwint_t\fR \fIwc\fR);
  61 .fi

  62 .LP
  63 .nf
  64 \fBint\fR \fBiswcntrl\fR(\fBwint_t\fR \fIwc\fR);
  65 .fi

  66 .LP
  67 .nf
  68 \fBint\fR \fBiswdigit\fR(\fBwint_t\fR \fIwc\fR);
  69 .fi

  70 .LP
  71 .nf
  72 \fBint\fR \fBiswgraph\fR(\fBwint_t\fR \fIwc\fR);
  73 .fi

  74 .LP
  75 .nf
  76 \fBint\fR \fBiswlower\fR(\fBwint_t\fR \fIwc\fR);
  77 .fi

  78 .LP
  79 .nf
  80 \fBint\fR \fBiswprint\fR(\fBwint_t\fR \fIwc\fR);
  81 .fi

  82 .LP
  83 .nf
  84 \fBint\fR \fBiswpunct\fR(\fBwint_t\fR \fIwc\fR);
  85 .fi

  86 .LP
  87 .nf
  88 \fBint\fR \fBiswspace\fR(\fBwint_t\fR \fIwc\fR);
  89 .fi

  90 .LP
  91 .nf
  92 \fBint\fR \fBiswupper\fR(\fBwint_t\fR \fIwc\fR);
  93 .fi

  94 .LP
  95 .nf
  96 \fBint\fR \fBiswxdigit\fR(\fBwint_t\fR \fIwc\fR);
  97 .fi

  98 .LP
  99 .nf
 100 \fBint\fR \fBiswhexnumber\fR(\fBwint_t\fR \fIwc\fR);
 101 .fi
 102 .LP
 103 .nf
 104 \fBint\fR \fBiswideogram\fR(\fBwint_t\fR \fIwc\fR);
 105 .fi

 106 .LP
 107 .nf
 108 \fBint\fR \fBiswnumber\fR(\fBwint_t\fR \fIwc\fR);
 109 .fi

 110 .LP
 111 .nf
 112 \fBint\fR \fBiswphonogram\fR(\fBwint_t\fR \fIwc\fR);
 113 .fi

 114 .LP
 115 .nf
 116 \fBint\fR \fBiswspecial\fR(\fBwint_t\fR \fIwc\fR);
 117 .fi



 118 .LP
 119 .nf
 120 \fBint\fR \fBiswalpha_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 121 .fi

 122 .LP
 123 .nf
 124 \fBint\fR \fBiswideogram_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 125 .fi

 126 .LP
 127 .nf
 128 \fBint\fR \fBiswnumber_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 129 .fi

 130 .LP
 131 .nf
 132 \fBint\fR \fBiswphonogram_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 133 .fi

 134 .LP
 135 .nf
 136 \fBint\fR \fBiswspecial_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 137 .fi

 138 .LP
 139 .nf
 140 \fBint\fR \fBiswalnum_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 141 .fi

 142 .LP
 143 .nf
 144 \fBint\fR \fBiswascii_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 145 .fi

 146 .LP
 147 .nf
 148 \fBint\fR \fBiswblank_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 149 .fi

 150 .LP
 151 .nf
 152 \fBint\fR \fBiswcntrl_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 153 .fi

 154 .LP
 155 .nf
 156 \fBint\fR \fBiswdigit_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 157 .fi

 158 .LP
 159 .nf
 160 \fBint\fR \fBiswgraph_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 161 .fi

 162 .LP
 163 .nf
 164 \fBint\fR \fBiswlower_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 165 .fi

 166 .LP
 167 .nf
 168 \fBint\fR \fBiswprint_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 169 .fi

 170 .LP
 171 .nf
 172 \fBint\fR \fBiswpunct_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 173 .fi

 174 .LP
 175 .nf
 176 \fBint\fR \fBiswspace_l\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 177 .fi

 178 .LP
 179 .nf
 180 \fBint\fR \fBiswupper\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 181 .fi

 182 .LP
 183 .nf
 184 \fBint\fR \fBiswxdigit\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 185 .fi



 186 .LP
 187 .nf
 188 #include <xlocale.h>

 189 


 190 \fBint\fR \fBiswhexnumber\fR(\fBwint_t\fR \fIwc\fR, \fBlocale_t\fR \fIloc\fR);
 191 .fi
 192 
 193 .SH DESCRIPTION

 194 .LP
 195 These functions test whether \fIwc\fR is a wide-character code representing a
 196 character of a particular class defined in the \fBLC_CTYPE\fR category of the
 197 current locale or the locale specified by \fIloc\fR.


 198 .LP
 199 The functions \fBiswalpha_l()\fR, \fBiswideogram_l()\fR, \fBiswnumber_l()\fR,
 200 \fBiswphonogram_l()\fR, \fBiswspecial_l()\fR, \fBiswalnum_l()\fR,
 201 \fBiswascii_l()\fR, \fBiswblank_l()\fR, \fBiswcntrl_l()\fR, \fBiswdigit_l()\fR,
 202 \fBiswgraph_l()\fR, \fBiswlower_l()\fR, \fBiswprint_l()\fR, \fBiswpunct_l()\fR,
 203 \fBiswspace_l()\fR, \fBiswupper_l()\fR, all behave identically to their
 204 counterparts without the '\fB_l\fR' suffix, but instead of operating on the
 205 current locale, they operate on the locale specified by \fIloc\fR.

 206 .LP
 207 The functions, \fBiswideogram()\fR, \fBiswnumber()\fR, \fBiswphonogram()\fR,
 208 \fBiswspecial()\fR, and \fBiswhexnumber()\fR, are respectively identical to
 209 \fBisideogram()\fR, \fBisnumber()\fR, \fBisphonogram()\fR, \fBisspecial()\fR,
 210 \fBiswxdigit()\fR respectively.  They are provided for compatability purposes.

 211 .LP
 212 In all cases, \fIwc\fR is a \fBwint_t\fR, the value of which must be a
 213 wide-character code corresponding to a valid character in the current locale or
 214 must equal the value of the macro \fBWEOF\fR. If the argument has any other
 215 values, the behavior is undefined.
 216 .sp
 217 .ne 2
 218 .na
 219 \fB\fBiswalpha(\fR\fIwc\fR\fB)\fR\fR
 220 .ad
 221 .RS 19n
 222 Tests whether \fIwc\fR is a wide-character code representing a character of
 223 class "alpha" in the program's current locale.
 224 .RE
 225 
 226 .sp
 227 .ne 2
 228 .na
 229 \fB\fBisenglish(\fR\fIwc\fR\fB)\fR\fR
 230 .ad


 381 .ad
 382 .RS 19n
 383 Tests whether \fIwc\fR is a wide-character code representing a character of
 384 class "upper" in the program's current locale.
 385 .RE
 386 
 387 .sp
 388 .ne 2
 389 .na
 390 \fB\fBiswxdigit(\fR\fIwc\fR\fB)\fR\fR
 391 .ad
 392 .RS 19n
 393 Tests whether \fIwc\fR is a wide-character code representing a character of
 394 class "xdigit" in the program's current locale.
 395 .RE
 396 
 397 .SH ATTRIBUTES
 398 .sp
 399 .LP
 400 See \fBattributes\fR(5) for descriptions of the following attributes:



 401 .TS
 402 box;
 403 c | c
 404 l | l .
 405 ATTRIBUTE TYPE  ATTRIBUTE VALUE
 406 _
 407 CSI     Enabled
 408 _
 409 Interface Stability     See below.
 410 _
 411 MT-Level        MT-Safe
 412 .TE
 413 

 414 .LP
 415 The \fBiswalpha()\fR, \fBiswalnum()\fR, \fBiswblank()\fR, \fBiswcntrl()\fR,
 416 \fBiswdigit()\fR, \fBiswgraph()\fR, \fBiswlower()\fR, \fBiswprint()\fR,
 417 \fBiswpunct()\fR, \fBiswspace()\fR, \fBiswupper()\fR, and \fBiswxdigit()\fR
 418 functions are Standard.

 419 .LP
 420 The \fBiswalpha_l()\fR, \fBiswalnum_l()\fR, \fBiswblank_l()\fR, \fBiswcntrl_l()\fR,
 421 \fBiswdigit_l()\fR, \fBiswgraph_l()\fR, \fBiswlower_l()\fR, \fBiswprint_l()\fR,
 422 \fBiswpunct_l()\fR, \fBiswspace_l()\fR, and \fBiswupper_l()\fR
 423 functions are Standard.
 424 .SH SEE ALSO

 425 .LP
 426 \fBlocaledef\fR(1), \fBnewlocale\fR(3C),
 427 \fBsetlocale\fR(3C), \fBstdio\fR(3C), \fBuselocale\fR(3C),
 428 \fBascii\fR(5), \fBattributes\fR(5), \fBstandards\fR(5)