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