1TOWLOWER(P) POSIX Programmer's Manual TOWLOWER(P)
2
3
4
6 towlower - transliterate uppercase wide-character code to lowercase
7
9 #include <wctype.h>
10
11 wint_t towlower(wint_t wc);
12
13
15 The towlower() function has as a domain a type wint_t, the value of
16 which the application shall ensure is a character representable as a
17 wchar_t, and a wide-character code corresponding to a valid character
18 in the current locale or the value of WEOF. If the argument has any
19 other value, the behavior is undefined. If the argument of towlower()
20 represents an uppercase wide-character code, and there exists a corre‐
21 sponding lowercase wide-character code (as defined by character type
22 information in the program locale category LC_CTYPE ), the result shall
23 be the corresponding lowercase wide-character code. All other argu‐
24 ments in the domain are returned unchanged.
25
27 Upon successful completion, towlower() shall return the lowercase let‐
28 ter corresponding to the argument passed; otherwise, it shall return
29 the argument unchanged.
30
32 No errors are defined.
33
34 The following sections are informative.
35
37 None.
38
40 None.
41
43 None.
44
46 None.
47
49 setlocale() , the Base Definitions volume of IEEE Std 1003.1-2001,
50 Chapter 7, Locale, <wctype.h>, <wchar.h>
51
53 Portions of this text are reprinted and reproduced in electronic form
54 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
55 -- Portable Operating System Interface (POSIX), The Open Group Base
56 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
57 Electrical and Electronics Engineers, Inc and The Open Group. In the
58 event of any discrepancy between this version and the original IEEE and
59 The Open Group Standard, the original IEEE and The Open Group Standard
60 is the referee document. The original Standard can be obtained online
61 at http://www.opengroup.org/unix/online.html .
62
63
64
65IEEE/The Open Group 2003 TOWLOWER(P)