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