logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

towlower.3p (3322B)


  1. '\" et
  2. .TH TOWLOWER "3P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. towlower,
  12. towlower_l
  13. \(em transliterate uppercase wide-character code to lowercase
  14. .SH SYNOPSIS
  15. .LP
  16. .nf
  17. #include <wctype.h>
  18. .P
  19. wint_t towlower(wint_t \fIwc\fP);
  20. wint_t towlower_l(wint_t \fIwc\fP, locale_t \fIlocale\fP);
  21. .fi
  22. .SH DESCRIPTION
  23. For
  24. \fItowlower\fR():
  25. The functionality described on this reference page is aligned with the
  26. ISO\ C standard. Any conflict between the requirements described here and the
  27. ISO\ C standard is unintentional. This volume of POSIX.1\(hy2017 defers to the ISO\ C standard.
  28. .P
  29. The
  30. \fItowlower\fR()
  31. and
  32. \fItowlower_l\fR()
  33. functions have as a domain a type
  34. .BR wint_t ,
  35. the value of which the application shall ensure is a character
  36. representable as a
  37. .BR wchar_t ,
  38. and a wide-character code corresponding to a valid character in the
  39. locale used by the function or the value of WEOF.
  40. If the argument has any other value, the behavior is undefined.
  41. If the argument of
  42. \fItowlower\fR()
  43. or
  44. \fItowlower_l\fR()
  45. represents an uppercase wide-character code, and there exists a
  46. corresponding lowercase wide-character code as defined by character
  47. type information in the current locale
  48. or in the locale represented by
  49. .IR locale ,
  50. respectively (category
  51. .IR LC_CTYPE ),
  52. the result shall be the corresponding lowercase wide-character code.
  53. All other arguments in the domain are returned unchanged.
  54. .P
  55. The behavior is undefined if the
  56. .IR locale
  57. argument to
  58. \fItowlower_l\fR()
  59. is the special locale object LC_GLOBAL_LOCALE or is not a valid locale
  60. object handle.
  61. .SH "RETURN VALUE"
  62. Upon successful completion, the
  63. \fItowlower\fR()
  64. and
  65. \fItowlower_l\fR()
  66. functions shall return the lowercase letter corresponding to the
  67. argument passed; otherwise, they shall return the argument unchanged.
  68. .SH ERRORS
  69. No errors are defined.
  70. .LP
  71. .IR "The following sections are informative."
  72. .SH EXAMPLES
  73. None.
  74. .SH "APPLICATION USAGE"
  75. None.
  76. .SH RATIONALE
  77. None.
  78. .SH "FUTURE DIRECTIONS"
  79. None.
  80. .SH "SEE ALSO"
  81. .IR "\fIsetlocale\fR\^(\|)",
  82. .IR "\fIuselocale\fR\^(\|)"
  83. .P
  84. The Base Definitions volume of POSIX.1\(hy2017,
  85. .IR "Chapter 7" ", " "Locale",
  86. .IR "\fB<locale.h>\fP",
  87. .IR "\fB<wctype.h>\fP"
  88. .\"
  89. .SH COPYRIGHT
  90. Portions of this text are reprinted and reproduced in electronic form
  91. from IEEE Std 1003.1-2017, Standard for Information Technology
  92. -- Portable Operating System Interface (POSIX), The Open Group Base
  93. Specifications Issue 7, 2018 Edition,
  94. Copyright (C) 2018 by the Institute of
  95. Electrical and Electronics Engineers, Inc and The Open Group.
  96. In the event of any discrepancy between this version and the original IEEE and
  97. The Open Group Standard, the original IEEE and The Open Group Standard
  98. is the referee document. The original Standard can be obtained online at
  99. http://www.opengroup.org/unix/online.html .
  100. .PP
  101. Any typographical or formatting errors that appear
  102. in this page are most likely
  103. to have been introduced during the conversion of the source files to
  104. man page format. To report such errors, see
  105. https://www.kernel.org/doc/man-pages/reporting_bugs.html .