Namespaces
Variants
Views
Actions

Standard library header <cstring>

From cppreference.com
< cpp‎ | header

This header was originally in the C standard library as <string.h>.

This header is for C-style null-terminated byte strings.

Contents

[edit] Macros

implementation-defined null pointer constant
(macro constant) [edit]

[edit] Types

unsigned integer type returned by the sizeof operator
(typedef) [edit]

[edit] Functions

String manipulation
copies one string to another
(function) [edit]
copies a certain amount of characters from one string to another
(function) [edit]
concatenates two strings
(function) [edit]
concatenates a certain amount of characters of two strings
(function) [edit]
transform a string so that strcmp would produce the same result as strcoll
(function) [edit]
String examination
returns the length of a given string
(function) [edit]
compares two strings
(function) [edit]
compares a certain amount of characters of two strings
(function) [edit]
compares two strings in accordance to the current locale
(function) [edit]
finds the first occurrence of a character
(function) [edit]
finds the last occurrence of a character
(function) [edit]
returns the length of the maximum initial segment that consists
of only the characters found in another byte string
(function) [edit]
returns the length of the maximum initial segment that consists
of only the characters not found in another byte string
(function) [edit]
finds the first location of any character from a set of separators
(function) [edit]
finds the first occurrence of a substring of characters
(function) [edit]
finds the next token in a byte string
(function) [edit]
Character array manipulation
searches an array for the first occurrence of a character
(function) [edit]
compares two buffers
(function) [edit]
fills a buffer with a character
(function) [edit]
copies one buffer to another
(function) [edit]
moves one buffer to another
(function) [edit]
Miscellaneous
returns a text version of a given error code
(function) [edit]


[edit] Notes