Cygwin: mmap: allow remapping part of an existing anonymous mapping
[newlib-cygwin.git] / newlib / libc / string / strings.tex
bloba04d46ddb79326faf50067bda32de7bd8d3eb441
1 @node Strings
2 @chapter Strings and Memory (@file{string.h})
4 This chapter describes string-handling functions and functions for
5 managing areas of memory. The corresponding declarations are in
6 @file{string.h}.
8 @menu
9 * Function bcmp:: Compare two memory areas
10 * Function bcopy:: Copy memory regions
11 * Function bzero:: Initialize memory to zero
12 * Function index:: Search for character in string
13 * Function memccpy:: Copy memory regions up to end-token
14 * Function memchr:: Find character in memory
15 * Function memcmp:: Compare two memory areas
16 * Function memcpy:: Copy memory regions
17 * Function memmem:: Find memory segment
18 * Function memmove:: Move possibly overlapping memory
19 * Function mempcpy:: Copy memory regions and locate end
20 * Function memrchr:: Reverse search for character in memory
21 * Function memset:: Set an area of memory
22 * Function rawmemchr:: Find character in memory
23 * Function rindex:: Reverse search for character in string
24 * Function stpcpy:: Copy string returning a pointer to its end
25 * Function stpncpy:: Counted copy string returning a pointer to its end
26 * Function strcasecmp:: Compare strings ignoring case
27 * Function strcasestr:: Find string segment ignoring case
28 * Function strcat:: Concatenate strings
29 * Function strchr:: Search for character in string
30 * Function strchrnul:: Search for character in string
31 * Function strcmp:: Character string compare
32 * Function strcoll:: Locale-specific character string compare
33 * Function strcpy:: Copy string
34 * Function strcspn:: Count chars not in string
35 * Function strerror:: Convert error number to string (strerror, strerror_l)
36 * Function strerror_r:: Convert error number to string
37 * Function strlen:: Character string length
38 * Function strlwr:: Convert string to lowercase
39 * Function strncasecmp:: Compare strings ignoring case
40 * Function strncat:: Concatenate strings
41 * Function strncmp:: Character string compare
42 * Function strncpy:: Counted copy string
43 * Function strnstr:: Find string segment
44 * Function strnlen:: Character string length
45 * Function strpbrk:: Find chars in string
46 * Function strrchr:: Reverse search for character in string
47 * Function strsignal:: Return signal message string
48 * Function strspn:: Find initial match
49 * Function strstr:: Find string segment
50 * Function strtok:: Get next token from a string
51 * Function strupr:: Convert string to upper case
52 * Function strverscmp:: Compare version strings
53 * Function strxfrm:: Transform string
54 * Function swab:: Swap adjacent bytes
55 * Function wcscasecmp:: Compare wide character strings ignoring case
56 * Function wcsdup:: Wide character string duplicate
57 * Function wcsncasecmp:: Compare wide character strings ignoring case
58 @end menu
60 @page
61 @include string/bcmp.def
63 @page
64 @include string/bcopy.def
66 @page
67 @include string/bzero.def
69 @page
70 @include string/index.def
72 @page
73 @include string/memccpy.def
75 @page
76 @include string/memchr.def
78 @page
79 @include string/memcmp.def
81 @page
82 @include string/memcpy.def
84 @page
85 @include string/memmem.def
87 @page
88 @include string/memmove.def
90 @page
91 @include string/mempcpy.def
93 @page
94 @include string/memrchr.def
96 @page
97 @include string/memset.def
99 @page
100 @include string/rawmemchr.def
102 @page
103 @include string/rindex.def
105 @page
106 @include string/stpcpy.def
108 @page
109 @include string/stpncpy.def
111 @page
112 @include string/strcasecmp.def
114 @page
115 @include string/strcasestr.def
117 @page
118 @include string/strcat.def
120 @page
121 @include string/strchr.def
123 @page
124 @include string/strchrnul.def
126 @page
127 @include string/strcmp.def
129 @page
130 @include string/strcoll.def
132 @page
133 @include string/strcpy.def
135 @page
136 @include string/strcspn.def
138 @page
139 @include string/strerror.def
141 @page
142 @include string/strerror_r.def
144 @page
145 @include string/strlen.def
147 @page
148 @include string/strlwr.def
150 @page
151 @include string/strncasecmp.def
153 @page
154 @include string/strncat.def
156 @page
157 @include string/strncmp.def
159 @page
160 @include string/strncpy.def
162 @page
163 @include string/strnstr.def
165 @page
166 @include string/strnlen.def
168 @page
169 @include string/strpbrk.def
171 @page
172 @include string/strrchr.def
174 @page
175 @include string/strsignal.def
177 @page
178 @include string/strspn.def
180 @page
181 @include string/strstr.def
183 @page
184 @include string/strtok.def
186 @page
187 @include string/strupr.def
189 @page
190 @include string/strverscmp.def
192 @page
193 @include string/strxfrm.def
195 @page
196 @include string/swab.def
198 @page
199 @include string/wcscasecmp.def
201 @page
202 @include string/wcsdup.def
204 @page
205 @include string/wcsncasecmp.def