_TOLOWER(3POSIX)
๐ _TOLOWER(3POSIX) ๐
okay bestie, welcome to the POSIX Programmer's Manual โ this little page is literally part of it. heads up tho: the Linux implementation of this interface may differ (so pls consult the corresponding Linux manual page for details on Linux behavior), or likeโฆ the interface might not even be implemented on Linux at all. ๐ vibe check accordingly.
โจ NAME โจ
_tolower โ transliterate uppercase characters to lowercase ๐
๐ฆ SYNOPSIS ๐ฆ
#include <ctype.h>
int _tolower(int c);
๐ธ DESCRIPTION ๐ธ
so the _tolower() macro shall be equivalent to tolower(c), with one tiny little catch: the application shall ensure that the argument c is an uppercase letter. that's the whole deal. no cap. ๐
โญ RETURN VALUE โญ
upon successful completion, _tolower() shall return the lowercase letter corresponding to the argument passed. slay. that's it, that's the return. ๐
๐ ERRORS ๐
no errors are defined. like, none. not a single one.
the following sections are informative. (yes bestie, that's what it says, we're just relaying the lore ๐)
๐ EXAMPLES ๐
None. ๐ญ (iconic of them honestly)
๐ซถ APPLICATION USAGE ๐ซถ
applications should use the tolower() function instead of the obsolescent _tolower() function. fr fr, tolower() is the main character here โ _tolower() is giving retired legend energy. ๐
๐ง RATIONALE ๐ง
None.
๐ฎ FUTURE DIRECTIONS ๐ฎ
the _tolower() function may be removed in a future version. โ ๏ธ so like, don't build your whole personality around it, bestie.
๐ SEE ALSO ๐
tolower()isupper()
also: The Base Definitions volume of POSIX.1โ2017, Chapter 7, Locale, <ctype.h> ๐ฆ
๐ COPYRIGHT ๐
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
and that's the whole page, babe ๐ go forth and lowercase responsibly. IEEE/The Open Group, 2017 โ mwah, catch u in the next man page โจ๐
๐ฆ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 ยท Other
- debian trixie: manpages-posix-dev 2017a-2 ยท Other
- ubuntu jammy: manpages-posix-dev 2017a-2 ยท Other
- ubuntu noble: manpages-posix-dev 2017a-2 ยท Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 ยท Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 ยท Other
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms