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

wctype.h.0p (5188B)


  1. '\" et
  2. .TH wctype.h "0P" 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. wctype.h
  12. \(em wide-character classification and mapping utilities
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <wctype.h>
  17. .fi
  18. .SH DESCRIPTION
  19. Some of the functionality described on this reference page extends the
  20. ISO\ C standard. Applications shall define the appropriate feature test macro
  21. (see the System Interfaces volume of POSIX.1\(hy2017,
  22. .IR "Section 2.2" ", " "The Compilation Environment")
  23. to enable the visibility of these symbols in this header.
  24. .P
  25. The
  26. .IR <wctype.h>
  27. header shall define the following types:
  28. .IP "\fBwint_t\fP" 12
  29. As described in
  30. .IR <wchar.h> .
  31. .IP "\fBwctrans_t\fP" 12
  32. A scalar type that can hold values which represent locale-specific
  33. character mappings.
  34. .IP "\fBwctype_t\fP" 12
  35. As described in
  36. .IR <wchar.h> .
  37. .P
  38. The
  39. .IR <wctype.h>
  40. header shall define the
  41. .BR locale_t
  42. type as described in
  43. .IR <locale.h> .
  44. .P
  45. The
  46. .IR <wctype.h>
  47. header shall define the following macro:
  48. .IP WEOF 12
  49. As described in
  50. .IR <wchar.h> .
  51. .P
  52. For all functions described in this header that accept an argument of
  53. type
  54. .BR wint_t ,
  55. the value is representable as a
  56. .BR wchar_t
  57. or equals the value of WEOF. If this argument has any other value, the
  58. behavior is undefined.
  59. .P
  60. The behavior of these functions shall be affected by the
  61. .IR LC_CTYPE
  62. category of the current locale.
  63. .P
  64. Inclusion of the
  65. .IR <wctype.h>
  66. header may make visible all symbols from the headers
  67. .IR <ctype.h> ,
  68. .IR <stdarg.h> ,
  69. .IR <stddef.h> ,
  70. .IR <stdio.h> ,
  71. .IR <stdlib.h> ,
  72. .IR <string.h> ,
  73. .IR <time.h> ,
  74. and
  75. .IR <wchar.h> .
  76. .P
  77. The following shall be declared as functions and may also be defined as
  78. macros. Function prototypes shall be provided for use with ISO\ C standard
  79. compilers.
  80. .sp
  81. .RS 4
  82. .nf
  83. int iswalnum(wint_t);
  84. int iswalnum_l(wint_t, locale_t);
  85. int iswalpha(wint_t);
  86. int iswalpha_l(wint_t, locale_t);
  87. int iswblank(wint_t);
  88. int iswblank_l(wint_t, locale_t);
  89. int iswcntrl(wint_t);
  90. int iswcntrl_l(wint_t, locale_t);
  91. int iswctype(wint_t, wctype_t);
  92. int iswctype_l(wint_t, wctype_t, locale_t);
  93. int iswdigit(wint_t);
  94. int iswdigit_l(wint_t, locale_t);
  95. int iswgraph(wint_t);
  96. int iswgraph_l(wint_t, locale_t);
  97. int iswlower(wint_t);
  98. int iswlower_l(wint_t, locale_t);
  99. int iswprint(wint_t);
  100. int iswprint_l(wint_t, locale_t);
  101. int iswpunct(wint_t);
  102. int iswpunct_l(wint_t, locale_t);
  103. int iswspace(wint_t);
  104. int iswspace_l(wint_t, locale_t);
  105. int iswupper(wint_t);
  106. int iswupper_l(wint_t, locale_t);
  107. int iswxdigit(wint_t);
  108. int iswxdigit_l(wint_t, locale_t);
  109. wint_t towctrans(wint_t, wctrans_t);
  110. wint_t towctrans_l(wint_t, wctrans_t, locale_t);
  111. wint_t towlower(wint_t);
  112. wint_t towlower_l(wint_t, locale_t);
  113. wint_t towupper(wint_t);
  114. wint_t towupper_l(wint_t, locale_t);
  115. wctrans_t wctrans(const char *);
  116. wctrans_t wctrans_l(const char *, locale_t);
  117. wctype_t wctype(const char *);
  118. wctype_t wctype_l(const char *, locale_t);
  119. .fi
  120. .P
  121. .RE
  122. .LP
  123. .IR "The following sections are informative."
  124. .SH "APPLICATION USAGE"
  125. None.
  126. .SH RATIONALE
  127. None.
  128. .SH "FUTURE DIRECTIONS"
  129. None.
  130. .SH "SEE ALSO"
  131. .IR "\fB<ctype.h>\fP",
  132. .IR "\fB<locale.h>\fP",
  133. .IR "\fB<stdarg.h>\fP",
  134. .IR "\fB<stddef.h>\fP",
  135. .IR "\fB<stdio.h>\fP",
  136. .IR "\fB<stdlib.h>\fP",
  137. .IR "\fB<string.h>\fP",
  138. .IR "\fB<time.h>\fP",
  139. .IR "\fB<wchar.h>\fP"
  140. .P
  141. The System Interfaces volume of POSIX.1\(hy2017,
  142. .IR "Section 2.2" ", " "The Compilation Environment",
  143. .IR "\fIiswalnum\fR\^(\|)",
  144. .IR "\fIiswalpha\fR\^(\|)",
  145. .IR "\fIiswblank\fR\^(\|)",
  146. .IR "\fIiswcntrl\fR\^(\|)",
  147. .IR "\fIiswctype\fR\^(\|)",
  148. .IR "\fIiswdigit\fR\^(\|)",
  149. .IR "\fIiswgraph\fR\^(\|)",
  150. .IR "\fIiswlower\fR\^(\|)",
  151. .IR "\fIiswprint\fR\^(\|)",
  152. .IR "\fIiswpunct\fR\^(\|)",
  153. .IR "\fIiswspace\fR\^(\|)",
  154. .IR "\fIiswupper\fR\^(\|)",
  155. .IR "\fIiswxdigit\fR\^(\|)",
  156. .IR "\fIsetlocale\fR\^(\|)",
  157. .IR "\fItowctrans\fR\^(\|)",
  158. .IR "\fItowlower\fR\^(\|)",
  159. .IR "\fItowupper\fR\^(\|)",
  160. .IR "\fIwctrans\fR\^(\|)",
  161. .IR "\fIwctype\fR\^(\|)"
  162. .\"
  163. .SH COPYRIGHT
  164. Portions of this text are reprinted and reproduced in electronic form
  165. from IEEE Std 1003.1-2017, Standard for Information Technology
  166. -- Portable Operating System Interface (POSIX), The Open Group Base
  167. Specifications Issue 7, 2018 Edition,
  168. Copyright (C) 2018 by the Institute of
  169. Electrical and Electronics Engineers, Inc and The Open Group.
  170. In the event of any discrepancy between this version and the original IEEE and
  171. The Open Group Standard, the original IEEE and The Open Group Standard
  172. is the referee document. The original Standard can be obtained online at
  173. http://www.opengroup.org/unix/online.html .
  174. .PP
  175. Any typographical or formatting errors that appear
  176. in this page are most likely
  177. to have been introduced during the conversion of the source files to
  178. man page format. To report such errors, see
  179. https://www.kernel.org/doc/man-pages/reporting_bugs.html .