Print this page
4176 tolower(3c) refers to nonexistent _tolower(3c)
Reviewed by: Garrett D'Amore <garrett@damore.org>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3c/tolower.3c.man.txt
+++ new/usr/src/man/man3c/tolower.3c.man.txt
1 1 TOLOWER(3C) Standard C Library Functions TOLOWER(3C)
2 2
3 3
4 4
5 5 NAME
6 6 tolower, tolower_l - transliterate upper-case characters to lower-case
↓ open down ↓ |
6 lines elided |
↑ open up ↑ |
7 7
8 8 SYNOPSIS
9 9 #include <ctype.h>
10 10
11 11 int tolower(int c);
12 12
13 13 int tolower_l(int c, locale_t loc);
14 14
15 15
16 16 DESCRIPTION
17 - The tolower() function has as a domain a type int, the value of which
17 + The tolower() function has as a domain of type int, the value of which
18 18 is representable as an unsigned char or the value of EOF. If the
19 19 argument has any other value, the argument is returned unchanged. If
20 20 the argument of tolower() represents an upper-case letter, and there
21 21 exists a corresponding lower-case letter (as defined by character type
22 22 information in the locale category LC_CTYPE), the result is the
23 23 corresponding lower-case letter. All other arguments in the domain are
24 24 returned unchanged.
25 25
26 26 The function tolower_l() behaves identically to tolower(), except
27 27 instead of operating in the current locale, it operates in the locale
28 28 specified by loc.
29 29
30 + A macro form, _tolower() exists. It is defined for standards
31 + conformance, particularly with legacy standards. It was deprecated in
32 + POSIX 2008 (Issue 7), and its use is discouraged. The macro, on this
33 + system, is just an alias for tolower().
34 +
30 35 RETURN VALUES
31 36 On successful completion, tolower() returns the lower-case letter
32 37 corresponding to the argument passed. Otherwise, it returns the
33 38 argument unchanged.
34 39
35 40 ERRORS
36 41 No errors are defined.
37 42
38 43 ATTRIBUTES
39 44 See attributes(5) for descriptions of the following attributes:
40 45
41 46 +--------------------+-----------------+
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
42 47 | ATTRIBUTE TYPE | ATTRIBUTE VALUE |
43 48 +--------------------+-----------------+
44 49 |CSI | Enabled |
45 50 +--------------------+-----------------+
46 51 |Interface Stability | Standard |
47 52 +--------------------+-----------------+
48 53 |MT-Level | MT-Safe |
49 54 +--------------------+-----------------+
50 55
51 56 SEE ALSO
52 - _tolower(3C), newlocale(3C), setlocale(3C), uselocale(3C),
53 - attributes(5), standards(5)
57 + newlocale(3C), setlocale(3C), uselocale(3C), attributes(5),
58 + standards(5)
54 59
55 60
56 61
57 - June 21, 2014 TOLOWER(3C)
62 + October 4, 2015 TOLOWER(3C)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX