206 lines
4.5 KiB
TeX
206 lines
4.5 KiB
TeX
@node Strings
|
|
@chapter Strings and Memory (@file{string.h})
|
|
|
|
This chapter describes string-handling functions and functions for
|
|
managing areas of memory. The corresponding declarations are in
|
|
@file{string.h}.
|
|
|
|
@menu
|
|
* Function bcmp:: Compare two memory areas
|
|
* Function bcopy:: Copy memory regions
|
|
* Function bzero:: Initialize memory to zero
|
|
* Function index:: Search for character in string
|
|
* Function memccpy:: Copy memory regions up to end-token
|
|
* Function memchr:: Find character in memory
|
|
* Function memcmp:: Compare two memory areas
|
|
* Function memcpy:: Copy memory regions
|
|
* Function memmem:: Find memory segment
|
|
* Function memmove:: Move possibly overlapping memory
|
|
* Function mempcpy:: Copy memory regions and locate end
|
|
* Function memrchr:: Reverse search for character in memory
|
|
* Function memset:: Set an area of memory
|
|
* Function rawmemchr:: Find character in memory
|
|
* Function rindex:: Reverse search for character in string
|
|
* Function stpcpy:: Copy string returning a pointer to its end
|
|
* Function stpncpy:: Counted copy string returning a pointer to its end
|
|
* Function strcasecmp:: Compare strings ignoring case
|
|
* Function strcasestr:: Find string segment ignoring case
|
|
* Function strcat:: Concatenate strings
|
|
* Function strchr:: Search for character in string
|
|
* Function strchrnul:: Search for character in string
|
|
* Function strcmp:: Character string compare
|
|
* Function strcoll:: Locale-specific character string compare
|
|
* Function strcpy:: Copy string
|
|
* Function strcspn:: Count chars not in string
|
|
* Function strerror:: Convert error number to string (strerror, strerror_l)
|
|
* Function strerror_r:: Convert error number to string
|
|
* Function strlen:: Character string length
|
|
* Function strlwr:: Convert string to lowercase
|
|
* Function strncasecmp:: Compare strings ignoring case
|
|
* Function strncat:: Concatenate strings
|
|
* Function strncmp:: Character string compare
|
|
* Function strncpy:: Counted copy string
|
|
* Function strnstr:: Find string segment
|
|
* Function strnlen:: Character string length
|
|
* Function strpbrk:: Find chars in string
|
|
* Function strrchr:: Reverse search for character in string
|
|
* Function strsignal:: Return signal message string
|
|
* Function strspn:: Find initial match
|
|
* Function strstr:: Find string segment
|
|
* Function strtok:: Get next token from a string
|
|
* Function strupr:: Convert string to upper case
|
|
* Function strverscmp:: Compare version strings
|
|
* Function strxfrm:: Transform string
|
|
* Function swab:: Swap adjacent bytes
|
|
* Function wcscasecmp:: Compare wide character strings ignoring case
|
|
* Function wcsdup:: Wide character string duplicate
|
|
* Function wcsncasecmp:: Compare wide character strings ignoring case
|
|
@end menu
|
|
|
|
@page
|
|
@include string/bcmp.def
|
|
|
|
@page
|
|
@include string/bcopy.def
|
|
|
|
@page
|
|
@include string/bzero.def
|
|
|
|
@page
|
|
@include string/index.def
|
|
|
|
@page
|
|
@include string/memccpy.def
|
|
|
|
@page
|
|
@include string/memchr.def
|
|
|
|
@page
|
|
@include string/memcmp.def
|
|
|
|
@page
|
|
@include string/memcpy.def
|
|
|
|
@page
|
|
@include string/memmem.def
|
|
|
|
@page
|
|
@include string/memmove.def
|
|
|
|
@page
|
|
@include string/mempcpy.def
|
|
|
|
@page
|
|
@include string/memrchr.def
|
|
|
|
@page
|
|
@include string/memset.def
|
|
|
|
@page
|
|
@include string/rawmemchr.def
|
|
|
|
@page
|
|
@include string/rindex.def
|
|
|
|
@page
|
|
@include string/stpcpy.def
|
|
|
|
@page
|
|
@include string/stpncpy.def
|
|
|
|
@page
|
|
@include string/strcasecmp.def
|
|
|
|
@page
|
|
@include string/strcasestr.def
|
|
|
|
@page
|
|
@include string/strcat.def
|
|
|
|
@page
|
|
@include string/strchr.def
|
|
|
|
@page
|
|
@include string/strchrnul.def
|
|
|
|
@page
|
|
@include string/strcmp.def
|
|
|
|
@page
|
|
@include string/strcoll.def
|
|
|
|
@page
|
|
@include string/strcpy.def
|
|
|
|
@page
|
|
@include string/strcspn.def
|
|
|
|
@page
|
|
@include string/strerror.def
|
|
|
|
@page
|
|
@include string/strerror_r.def
|
|
|
|
@page
|
|
@include string/strlen.def
|
|
|
|
@page
|
|
@include string/strlwr.def
|
|
|
|
@page
|
|
@include string/strncasecmp.def
|
|
|
|
@page
|
|
@include string/strncat.def
|
|
|
|
@page
|
|
@include string/strncmp.def
|
|
|
|
@page
|
|
@include string/strncpy.def
|
|
|
|
@page
|
|
@include string/strnstr.def
|
|
|
|
@page
|
|
@include string/strnlen.def
|
|
|
|
@page
|
|
@include string/strpbrk.def
|
|
|
|
@page
|
|
@include string/strrchr.def
|
|
|
|
@page
|
|
@include string/strsignal.def
|
|
|
|
@page
|
|
@include string/strspn.def
|
|
|
|
@page
|
|
@include string/strstr.def
|
|
|
|
@page
|
|
@include string/strtok.def
|
|
|
|
@page
|
|
@include string/strupr.def
|
|
|
|
@page
|
|
@include string/strverscmp.def
|
|
|
|
@page
|
|
@include string/strxfrm.def
|
|
|
|
@page
|
|
@include string/swab.def
|
|
|
|
@page
|
|
@include string/wcscasecmp.def
|
|
|
|
@page
|
|
@include string/wcsdup.def
|
|
|
|
@page
|
|
@include string/wcsncasecmp.def
|