1ISWALPHA(3P)               POSIX Programmer's Manual              ISWALPHA(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

NAME

12       iswalpha - test for an alphabetic wide-character code
13

SYNOPSIS

15       #include <wctype.h>
16
17       int iswalpha(wint_t wc);
18
19

DESCRIPTION

21       The iswalpha() function shall test whether wc is a wide-character  code
22       representing  a  character  of  class  alpha  in  the program's current
23       locale; see the Base Definitions volume of IEEE Std 1003.1-2001,  Chap‐
24       ter 7, Locale.
25
26       The  wc  argument is a wint_t, the value of which the application shall
27       ensure is a wide-character code corresponding to a valid  character  in
28       the  current  locale,  or  equal to the value of the macro WEOF. If the
29       argument has any other value, the behavior is undefined.
30

RETURN VALUE

32       The iswalpha() function shall return non-zero if wc  is  an  alphabetic
33       wide-character code; otherwise, it shall return 0.
34

ERRORS

36       No errors are defined.
37
38       The following sections are informative.
39

EXAMPLES

41       None.
42

APPLICATION USAGE

44       To  ensure  applications  portability,  especially  across natural lan‐
45       guages, only this function and those listed in  the  SEE  ALSO  section
46       should be used for classification of wide-character codes.
47

RATIONALE

49       None.
50

FUTURE DIRECTIONS

52       None.
53

SEE ALSO

55       iswalnum(), iswcntrl(), iswctype(), iswdigit(), iswgraph(), iswlower(),
56       iswprint(), iswpunct(),  iswspace(),  iswupper(),  iswxdigit(),  setlo‐
57       cale(), the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 7,
58       Locale, <stdio.h>, <wchar.h>, <wctype.h>
59
61       Portions of this text are reprinted and reproduced in  electronic  form
62       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
63       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
64       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
65       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
66       event of any discrepancy between this version and the original IEEE and
67       The Open Group Standard, the original IEEE and The Open Group  Standard
68       is  the  referee document. The original Standard can be obtained online
69       at http://www.opengroup.org/unix/online.html .
70
71
72
73IEEE/The Open Group                  2003                         ISWALPHA(3P)
Impressum