1TOWLOWER(3P)               POSIX Programmer's Manual              TOWLOWER(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       towlower, towlower_l — transliterate uppercase wide-character  code  to
14       lowercase
15

SYNOPSIS

17       #include <wctype.h>
18
19       wint_t towlower(wint_t wc);
20       wint_t towlower_l(wint_t wc, locale_t locale);
21

DESCRIPTION

23       For  towlower():  The functionality described on this reference page is
24       aligned with the ISO C standard. Any conflict between the  requirements
25       described  here and the ISO C standard is unintentional. This volume of
26       POSIX.1‐2008 defers to the ISO C standard.
27
28       The towlower() and towlower_l() functions  have  as  a  domain  a  type
29       wint_t,  the value of which the application shall ensure is a character
30       representable as a wchar_t, and a wide-character code corresponding  to
31       a  valid  character in the current locale or the value of WEOF.  If the
32       argument has any other value, the behavior is undefined.  If the  argu‐
33       ment of towlower() or towlower_l() represents an uppercase wide-charac‐
34       ter code, and there exists  a  corresponding  lowercase  wide-character
35       code  as defined by character type information in the current locale or
36       in the locale represented by locale, respectively (category  LC_CTYPE),
37       the  result  shall  be the corresponding lowercase wide-character code.
38       All other arguments in the domain are returned unchanged.
39
40       The behavior is undefined if the locale argument to towlower_l() is the
41       special  locale object LC_GLOBAL_LOCALE or is not a valid locale object
42       handle.
43

RETURN VALUE

45       Upon successful completion, the towlower() and  towlower_l()  functions
46       shall return the lowercase letter corresponding to the argument passed;
47       otherwise, they shall return the argument unchanged.
48

ERRORS

50       No errors are defined.
51
52       The following sections are informative.
53

EXAMPLES

55       None.
56

APPLICATION USAGE

58       None.
59

RATIONALE

61       None.
62

FUTURE DIRECTIONS

64       None.
65

SEE ALSO

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