1ISWUPPER(3P)               POSIX Programmer's Manual              ISWUPPER(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       iswupper - test for an uppercase letter wide-character code
13

SYNOPSIS

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

DESCRIPTION

21       The iswupper() function shall test whether wc is a wide-character  code
22       representing  a  character  of  class  upper  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 iswupper() function shall return non-zero if  wc  is  an  uppercase
33       letter 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(), iswalpha(), iswcntrl(), iswctype(), iswdigit(), iswgraph(),
56       iswlower(), iswprint(),  iswpunct(),  iswspace(),  iswxdigit(),  setlo‐
57       cale(), the Base Definitions volume of IEEE Std 1003.1-2001, Chapter 7,
58       Locale, <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                         ISWUPPER(3P)
Impressum