1ISWALNUM(3P)               POSIX Programmer's Manual              ISWALNUM(3P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       iswalnum, iswalnum_l — test for an alphanumeric wide-character code
14

SYNOPSIS

16       #include <wctype.h>
17
18       int iswalnum(wint_t wc);
19       int iswalnum_l(wint_t wc, locale_t locale);
20

DESCRIPTION

22       For iswalnum(): The functionality described on this reference  page  is
23       aligned  with the ISO C standard. Any conflict between the requirements
24       described here and the ISO C standard is unintentional. This volume  of
25       POSIX.1‐2008 defers to the ISO C standard.
26
27       The  iswalnum()  and  iswalnum_l() functions shall test whether wc is a
28       wide-character code representing a character of class alpha or digit in
29       the  current  locale,  or  in the locale represented by locale, respec‐
30       tively; see the Base Definitions volume  of  POSIX.1‐2008,  Chapter  7,
31       Locale.
32
33       The  wc  argument is a wint_t, the value of which the application shall
34       ensure is a wide-character code corresponding to a valid  character  in
35       the  current  locale,  or  equal to the value of the macro WEOF. If the
36       argument has any other value, the behavior is undefined.
37
38       The behavior is undefined if the locale argument to iswalnum_l() is the
39       special  locale object LC_GLOBAL_LOCALE or is not a valid locale object
40       handle.
41

RETURN VALUE

43       The iswalnum() and iswalnum_l() functions shall return non-zero  if  wc
44       is an alphanumeric wide-character code; otherwise, they shall return 0.
45

ERRORS

47       No errors are defined.
48
49       The following sections are informative.
50

EXAMPLES

52       None.
53

APPLICATION USAGE

55       To  ensure  applications  portability,  especially  across natural lan‐
56       guages, only these functions and the functions in the  reference  pages
57       listed in the SEE ALSO section should be used for character classifica‐
58       tion.
59

RATIONALE

61       None.
62

FUTURE DIRECTIONS

64       None.
65

SEE ALSO

67       iswalpha(), iswcntrl(), iswctype(), iswdigit(), iswgraph(), iswlower(),
68       iswprint(),  iswpunct(),  iswspace(),  iswupper(),  iswxdigit(), setlo‐
69       cale(), uselocale()
70
71       The  Base  Definitions  volume  of  POSIX.1‐2008,  Chapter  7,  Locale,
72       <locale.h>, <stdio.h>, <wctype.h>
73
75       Portions  of  this text are reprinted and reproduced in electronic form
76       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
77       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
78       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
79       cal  and  Electronics  Engineers,  Inc  and  The  Open Group.  (This is
80       POSIX.1-2008 with the 2013 Technical Corrigendum  1  applied.)  In  the
81       event of any discrepancy between this version and the original IEEE and
82       The Open Group Standard, the original IEEE and The Open Group  Standard
83       is  the  referee document. The original Standard can be obtained online
84       at http://www.unix.org/online.html .
85
86       Any typographical or formatting errors that appear  in  this  page  are
87       most likely to have been introduced during the conversion of the source
88       files to man page format. To report such errors,  see  https://www.ker
89       nel.org/doc/man-pages/reporting_bugs.html .
90
91
92
93IEEE/The Open Group                  2013                         ISWALNUM(3P)
Impressum