Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

137 lines
9.1KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html>
  3. <!-- Created by GNU Texinfo 6.5, http://www.gnu.org/software/texinfo/ -->
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <title>Wchar strings (The Red Hat newlib C Library)</title>
  7. <meta name="description" content="Wchar strings (The Red Hat newlib C Library)">
  8. <meta name="keywords" content="Wchar strings (The Red Hat newlib C Library)">
  9. <meta name="resource-type" content="document">
  10. <meta name="distribution" content="global">
  11. <meta name="Generator" content="makeinfo">
  12. <link href="index.html#Top" rel="start" title="Top">
  13. <link href="Document-Index.html#Document-Index" rel="index" title="Document Index">
  14. <link href="Document-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
  15. <link href="index.html#Top" rel="up" title="Top">
  16. <link href="wmemchr.html#wmemchr" rel="next" title="wmemchr">
  17. <link href="wcsncasecmp.html#wcsncasecmp" rel="prev" title="wcsncasecmp">
  18. <style type="text/css">
  19. <!--
  20. a.summary-letter {text-decoration: none}
  21. blockquote.indentedblock {margin-right: 0em}
  22. blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
  23. blockquote.smallquotation {font-size: smaller}
  24. div.display {margin-left: 3.2em}
  25. div.example {margin-left: 3.2em}
  26. div.lisp {margin-left: 3.2em}
  27. div.smalldisplay {margin-left: 3.2em}
  28. div.smallexample {margin-left: 3.2em}
  29. div.smalllisp {margin-left: 3.2em}
  30. kbd {font-style: oblique}
  31. pre.display {font-family: inherit}
  32. pre.format {font-family: inherit}
  33. pre.menu-comment {font-family: serif}
  34. pre.menu-preformatted {font-family: serif}
  35. pre.smalldisplay {font-family: inherit; font-size: smaller}
  36. pre.smallexample {font-size: smaller}
  37. pre.smallformat {font-family: inherit; font-size: smaller}
  38. pre.smalllisp {font-size: smaller}
  39. span.nolinebreak {white-space: nowrap}
  40. span.roman {font-family: initial; font-weight: normal}
  41. span.sansserif {font-family: sans-serif; font-weight: normal}
  42. ul.no-bullet {list-style: none}
  43. -->
  44. </style>
  45. </head>
  46. <body lang="en">
  47. <a name="Wchar-strings"></a>
  48. <div class="header">
  49. <p>
  50. Next: <a href="Signals.html#Signals" accesskey="n" rel="next">Signals</a>, Previous: <a href="Strings.html#Strings" accesskey="p" rel="prev">Strings</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="Document-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Document-Index.html#Document-Index" title="Index" rel="index">Index</a>]</p>
  51. </div>
  52. <hr>
  53. <a name="Wide-Character-Strings-_0028wchar_002eh_0029"></a>
  54. <h2 class="chapter">6 Wide Character Strings (<samp>wchar.h</samp>)</h2>
  55. <p>This chapter describes wide-character string-handling functions and
  56. managing areas of memory containing wide characters. The corresponding
  57. declarations are in <samp>wchar.h</samp>.
  58. </p>
  59. <table class="menu" border="0" cellspacing="0">
  60. <tr><td align="left" valign="top">&bull; <a href="wmemchr.html#wmemchr" accesskey="1">wmemchr</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Find wide character in memory
  61. </td></tr>
  62. <tr><td align="left" valign="top">&bull; <a href="wmemcmp.html#wmemcmp" accesskey="2">wmemcmp</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Compare two wide-character memory areas
  63. </td></tr>
  64. <tr><td align="left" valign="top">&bull; <a href="wmemcpy.html#wmemcpy" accesskey="3">wmemcpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy wide-character memory regions
  65. </td></tr>
  66. <tr><td align="left" valign="top">&bull; <a href="wmemmove.html#wmemmove" accesskey="4">wmemmove</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Move possibly overlapping wide-character memory
  67. </td></tr>
  68. <tr><td align="left" valign="top">&bull; <a href="wmempcpy.html#wmempcpy" accesskey="5">wmempcpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy wide-character memory regions and locate end
  69. </td></tr>
  70. <tr><td align="left" valign="top">&bull; <a href="wmemset.html#wmemset" accesskey="6">wmemset</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Set an area of memory to a specified wide character
  71. </td></tr>
  72. <tr><td align="left" valign="top">&bull; <a href="wcscat.html#wcscat" accesskey="7">wcscat</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Concatenate wide-character strings
  73. </td></tr>
  74. <tr><td align="left" valign="top">&bull; <a href="wcschr.html#wcschr" accesskey="8">wcschr</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Search for wide character in string
  75. </td></tr>
  76. <tr><td align="left" valign="top">&bull; <a href="wcscmp.html#wcscmp" accesskey="9">wcscmp</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Wide-character string compare
  77. </td></tr>
  78. <tr><td align="left" valign="top">&bull; <a href="wcscoll.html#wcscoll">wcscoll</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Locale-specific wide-character string compare
  79. </td></tr>
  80. <tr><td align="left" valign="top">&bull; <a href="wcscpy.html#wcscpy">wcscpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy wide-character string
  81. </td></tr>
  82. <tr><td align="left" valign="top">&bull; <a href="wcpcpy.html#wcpcpy">wcpcpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy a wide-character string returning a pointer to its end
  83. </td></tr>
  84. <tr><td align="left" valign="top">&bull; <a href="wcscspn.html#wcscspn">wcscspn</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Count wide characters not in string
  85. </td></tr>
  86. <tr><td align="left" valign="top">&bull; <a href="wcsftime.html#wcsftime">wcsftime</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Convert date and time to a formatted wide-character string
  87. </td></tr>
  88. <tr><td align="left" valign="top">&bull; <a href="wcslcat.html#wcslcat">wcslcat</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Concatenate wide-character strings to specified length
  89. </td></tr>
  90. <tr><td align="left" valign="top">&bull; <a href="wcslcpy.html#wcslcpy">wcslcpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy wide-character string to specified length
  91. </td></tr>
  92. <tr><td align="left" valign="top">&bull; <a href="wcslen.html#wcslen">wcslen</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Wide-character string length
  93. </td></tr>
  94. <tr><td align="left" valign="top">&bull; <a href="wcsncat.html#wcsncat">wcsncat</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Concatenate wide-character strings
  95. </td></tr>
  96. <tr><td align="left" valign="top">&bull; <a href="wcsncmp.html#wcsncmp">wcsncmp</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Wide-character string compare
  97. </td></tr>
  98. <tr><td align="left" valign="top">&bull; <a href="wcsncpy.html#wcsncpy">wcsncpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Counted copy wide-character string
  99. </td></tr>
  100. <tr><td align="left" valign="top">&bull; <a href="wcpncpy.html#wcpncpy">wcpncpy</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Copy part of a wide-character string returning a pointer to its end
  101. </td></tr>
  102. <tr><td align="left" valign="top">&bull; <a href="wcsnlen.html#wcsnlen">wcsnlen</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Wide-character string length with maximum limit
  103. </td></tr>
  104. <tr><td align="left" valign="top">&bull; <a href="wcspbrk.html#wcspbrk">wcspbrk</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Find wide characters in string
  105. </td></tr>
  106. <tr><td align="left" valign="top">&bull; <a href="wcsrchr.html#wcsrchr">wcsrchr</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Reverse search for wide character in string
  107. </td></tr>
  108. <tr><td align="left" valign="top">&bull; <a href="wcsspn.html#wcsspn">wcsspn</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Find initial match in wide-character string
  109. </td></tr>
  110. <tr><td align="left" valign="top">&bull; <a href="wcsstr.html#wcsstr">wcsstr</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Find wide-character string segment
  111. </td></tr>
  112. <tr><td align="left" valign="top">&bull; <a href="wcstok.html#wcstok">wcstok</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Tokenize wide-character string
  113. </td></tr>
  114. <tr><td align="left" valign="top">&bull; <a href="wcswidth.html#wcswidth">wcswidth</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Number of column positions of a wide-character string
  115. </td></tr>
  116. <tr><td align="left" valign="top">&bull; <a href="wcsxfrm.html#wcsxfrm">wcsxfrm</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Locale-specific wide-character string transformation
  117. </td></tr>
  118. <tr><td align="left" valign="top">&bull; <a href="wcwidth.html#wcwidth">wcwidth</a>:</td><td>&nbsp;&nbsp;</td><td align="left" valign="top">Number of column positions of a wide-character code
  119. </td></tr>
  120. </table>
  121. <hr>
  122. <div class="header">
  123. <p>
  124. Next: <a href="Signals.html#Signals" accesskey="n" rel="next">Signals</a>, Previous: <a href="Strings.html#Strings" accesskey="p" rel="prev">Strings</a>, Up: <a href="index.html#Top" accesskey="u" rel="up">Top</a> &nbsp; [<a href="Document-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Document-Index.html#Document-Index" title="Index" rel="index">Index</a>]</p>
  125. </div>
  126. </body>
  127. </html>