string.ch
Declarations
Parameters
- dest - pointer to the character array to write to TODO restricted @param src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcpy
- src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcpy
- destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcpy
Returns
returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcpy
See Also
- https:en.cppreference.com/w/c/string/byte/strcpy
Parameters
- dest - pointer to the character array to copy to TODO restricted @param src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncpy
- src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncpy
- count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncpy
Returns
returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncpy
See Also
- https:en.cppreference.com/w/c/string/byte/strncpy
Parameters
- dest - pointer to the character array to copy to TODO restricted @param src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX) and may clobber the rest of the destination array with unspecified values. @see https:en.cppreference.com/w/c/string/byte/strncpy
- src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX) and may clobber the rest of the destination array with unspecified values. @see https:en.cppreference.com/w/c/string/byte/strncpy
- count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX) and may clobber the rest of the destination array with unspecified values. @see https:en.cppreference.com/w/c/string/byte/strncpy
- destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX) and may clobber the rest of the destination array with unspecified values. @see https:en.cppreference.com/w/c/string/byte/strncpy
Returns
returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX) and may clobber the rest of the destination array with unspecified values. @see https:en.cppreference.com/w/c/string/byte/strncpy
See Also
- https:en.cppreference.com/w/c/string/byte/strncpy
Parameters
- dest - pointer to the null-terminated byte string to append to TODO restricted @param src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strcat
- src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strcat
- destsz - maximum number of characters to write, typically the size of the destination buffer @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strcat
Returns
returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strcat
See Also
- https:en.cppreference.com/w/c/string/byte/strcat
Parameters
- dest - pointer to the null-terminated byte string to append to TODO restricted @param src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcat
- src - pointer to the null-terminated byte string to copy from TODO restricted @param destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcat
- destsz - maximum number of characters to write, typically the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcat
Returns
returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strcat
See Also
- https:en.cppreference.com/w/c/string/byte/strcat
Parameters
- dest - pointer to the null-terminated byte string to append to TODO restricted @param src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncat
- src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncat
- count - maximum number of characters to copy @return returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncat
Returns
returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strncat
See Also
- https:en.cppreference.com/w/c/string/byte/strncat
Parameters
- dest - pointer to the null-terminated byte string to append to TODO restricted @param src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strncat
- src - pointer to the character array to copy from TODO restricted @param count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strncat
- count - maximum number of characters to copy @param destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strncat
- destsz - the size of the destination buffer @return returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strncat
Returns
returns zero on success, returns non-zero on error. Also, on error, writes zero to dest[0] (unless dest is a null pointer or destsz is zero or greater than RSIZE_MAX). @see https:en.cppreference.com/w/c/string/byte/strncat
See Also
- https:en.cppreference.com/w/c/string/byte/strncat
Parameters
- dest - pointer to the first element of the array where the transformed string will be written TODO restricted @param src - pointer to the first character of a null-terminated byte string to transform TODO restricted @param count - maximum number of characters to be written @return The length of the transformed string, not including the terminating null-character. @see https:en.cppreference.com/w/c/string/byte/strxfrm
- src - pointer to the first character of a null-terminated byte string to transform TODO restricted @param count - maximum number of characters to be written @return The length of the transformed string, not including the terminating null-character. @see https:en.cppreference.com/w/c/string/byte/strxfrm
- count - maximum number of characters to be written @return The length of the transformed string, not including the terminating null-character. @see https:en.cppreference.com/w/c/string/byte/strxfrm
Returns
The length of the transformed string, not including the terminating null-character. @see https:en.cppreference.com/w/c/string/byte/strxfrm
See Also
- https:en.cppreference.com/w/c/string/byte/strxfrm
Parameters
- src - pointer to the null-terminated byte string to duplicate @return A pointer to the newly allocated string, or a null pointer if an error occurred. @see https:en.cppreference.com/w/c/string/byte/strdup
Returns
A pointer to the newly allocated string, or a null pointer if an error occurred. @see https:en.cppreference.com/w/c/string/byte/strdup
See Also
- https:en.cppreference.com/w/c/string/byte/strdup
Parameters
- src - pointer to the null-terminated byte string to duplicate @param size - max number of bytes to copy from src @return A pointer to the newly allocated string, or a null pointer if an error occurred.
- size - max number of bytes to copy from src @return A pointer to the newly allocated string, or a null pointer if an error occurred.
Returns
A pointer to the newly allocated string, or a null pointer if an error occurred.
Parameters
- str - pointer to the null-terminated byte string to be examined @return The length of the null-terminated byte string str. @see https:en.cppreference.com/w/c/string/byte/strlen
Returns
The length of the null-terminated byte string str. @see https:en.cppreference.com/w/c/string/byte/strlen
See Also
- https:en.cppreference.com/w/c/string/byte/strlen
Parameters
- str - pointer to the null-terminated byte string to be examined @param strsz - maximum number of characters to examine @return The length of the null-terminated byte string str on success, zero if str is a null pointer, strsz if the null character was not found. @see https:en.cppreference.com/w/c/string/byte/strlen
- strsz - maximum number of characters to examine @return The length of the null-terminated byte string str on success, zero if str is a null pointer, strsz if the null character was not found. @see https:en.cppreference.com/w/c/string/byte/strlen
Returns
The length of the null-terminated byte string str on success, zero if str is a null pointer, strsz if the null character was not found. @see https:en.cppreference.com/w/c/string/byte/strlen
See Also
- https:en.cppreference.com/w/c/string/byte/strlen
Parameters
- lhs, rhs - pointers to the null-terminated byte strings to compare @return Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/strcmp
Returns
Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/strcmp
See Also
- https:en.cppreference.com/w/c/string/byte/strcmp
Parameters
- lhs, rhs - pointers to the possibly null-terminated arrays to compare @param count - maximum number of characters to compare @return Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/strncmp
- count - maximum number of characters to compare @return Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/strncmp
Returns
Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/strncmp
See Also
- https:en.cppreference.com/w/c/string/byte/strncmp
Parameters
- lhs, rhs - pointers to the null-terminated byte strings to compare @return Negative value if lhs is less than (precedes) rhs. 0 if lhs is equal to rhs. Positive value if lhs is greater than (follows) rhs. @see https:en.cppreference.com/w/c/string/byte/strcoll
Returns
Negative value if lhs is less than (precedes) rhs. 0 if lhs is equal to rhs. Positive value if lhs is greater than (follows) rhs. @see https:en.cppreference.com/w/c/string/byte/strcoll
See Also
- https:en.cppreference.com/w/c/string/byte/strcoll
Parameters
- str - pointer to the null-terminated byte string to be analyzed @param ch - character to search for @return Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strchr
- ch - character to search for @return Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strchr
Returns
Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strchr
See Also
- https:en.cppreference.com/w/c/string/byte/strchr
Parameters
- str - pointer to the null-terminated byte string to be analyzed @param ch - character to search for @return Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strrchr
- ch - character to search for @return Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strrchr
Returns
Pointer to the found character in str, or null pointer if no such character is found. @see https:en.cppreference.com/w/c/string/byte/strrchr
See Also
- https:en.cppreference.com/w/c/string/byte/strrchr
Parameters
- dest - pointer to the null-terminated byte string to be analyzed @param src - pointer to the null-terminated byte string that contains the characters to search for @return The length of the maximum initial segment that contains only characters from the null-terminated byte string pointed to by src. @see https:en.cppreference.com/w/c/string/byte/strspn
- src - pointer to the null-terminated byte string that contains the characters to search for @return The length of the maximum initial segment that contains only characters from the null-terminated byte string pointed to by src. @see https:en.cppreference.com/w/c/string/byte/strspn
Returns
The length of the maximum initial segment that contains only characters from the null-terminated byte string pointed to by src. @see https:en.cppreference.com/w/c/string/byte/strspn
See Also
- https:en.cppreference.com/w/c/string/byte/strspn
Parameters
- dest - pointer to the null-terminated byte string to be analyzed @param src - pointer to the null-terminated byte string that contains the characters to search for @return The length of the maximum initial segment that contains only characters not found in the null-terminated byte string pointed to by src @see https:en.cppreference.com/w/c/string/byte/strcspn
- src - pointer to the null-terminated byte string that contains the characters to search for @return The length of the maximum initial segment that contains only characters not found in the null-terminated byte string pointed to by src @see https:en.cppreference.com/w/c/string/byte/strcspn
Returns
The length of the maximum initial segment that contains only characters not found in the null-terminated byte string pointed to by src @see https:en.cppreference.com/w/c/string/byte/strcspn
See Also
- https:en.cppreference.com/w/c/string/byte/strcspn
Parameters
- dest - pointer to the null-terminated byte string to be analyzed @param breakset - pointer to the null-terminated byte string that contains the characters to search for @return Pointer to the first character in dest, that is also in breakset, or null pointer if no such character exists. @see https:en.cppreference.com/w/c/string/byte/strpbrk
- breakset - pointer to the null-terminated byte string that contains the characters to search for @return Pointer to the first character in dest, that is also in breakset, or null pointer if no such character exists. @see https:en.cppreference.com/w/c/string/byte/strpbrk
Returns
Pointer to the first character in dest, that is also in breakset, or null pointer if no such character exists. @see https:en.cppreference.com/w/c/string/byte/strpbrk
See Also
- https:en.cppreference.com/w/c/string/byte/strpbrk
Parameters
- str - pointer to the null-terminated byte string to examine @param substr - pointer to the null-terminated byte string to search for @return Pointer to the first character of the found substring in str, or a null pointer if such substring is not found. If substr points to an empty string, str is returned. @see https:en.cppreference.com/w/c/string/byte/strstr
- substr - pointer to the null-terminated byte string to search for @return Pointer to the first character of the found substring in str, or a null pointer if such substring is not found. If substr points to an empty string, str is returned. @see https:en.cppreference.com/w/c/string/byte/strstr
Returns
Pointer to the first character of the found substring in str, or a null pointer if such substring is not found. If substr points to an empty string, str is returned. @see https:en.cppreference.com/w/c/string/byte/strstr
See Also
- https:en.cppreference.com/w/c/string/byte/strstr
Parameters
- str - pointer to the null-terminated byte string to tokenize @param delim - pointer to the null-terminated byte string identifying delimiters @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
- delim - pointer to the null-terminated byte string identifying delimiters @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
Returns
Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
See Also
- https:en.cppreference.com/w/c/string/byte/strtok
Parameters
- str - pointer to the null-terminated byte string to tokenize @param delim - pointer to the null-terminated byte string identifying delimiters @param strmax - pointer to an object which initially holds the size of str: strtok_s stores the number of characters that remain to be examined @param ptr - pointer to an object of type char*, which is used by strtok_s to store its internal state @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
- delim - pointer to the null-terminated byte string identifying delimiters @param strmax - pointer to an object which initially holds the size of str: strtok_s stores the number of characters that remain to be examined @param ptr - pointer to an object of type char*, which is used by strtok_s to store its internal state @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
- strmax - pointer to an object which initially holds the size of str: strtok_s stores the number of characters that remain to be examined @param ptr - pointer to an object of type char*, which is used by strtok_s to store its internal state @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
- ptr - pointer to an object of type char*, which is used by strtok_s to store its internal state @return Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
Returns
Returns pointer to the beginning of the next token or a null pointer if there are no more tokens. @see https:en.cppreference.com/w/c/string/byte/strtok
See Also
- https:en.cppreference.com/w/c/string/byte/strtok
Parameters
- ptr - pointer to the object to be examined @param ch - bytes to search for @param count - max number of bytes to examine @return Pointer to the location of the byte, or a null pointer if no such byte is found. @see https:en.cppreference.com/w/c/string/byte/memchr
- ch - bytes to search for @param count - max number of bytes to examine @return Pointer to the location of the byte, or a null pointer if no such byte is found. @see https:en.cppreference.com/w/c/string/byte/memchr
- count - max number of bytes to examine @return Pointer to the location of the byte, or a null pointer if no such byte is found. @see https:en.cppreference.com/w/c/string/byte/memchr
Returns
Pointer to the location of the byte, or a null pointer if no such byte is found. @see https:en.cppreference.com/w/c/string/byte/memchr
See Also
- https:en.cppreference.com/w/c/string/byte/memchr
Parameters
- lhs, rhs - pointers to the objects to compare @param count - number of bytes to examine @return Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/memcmp
- count - number of bytes to examine @return Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/memcmp
Returns
Negative value if lhs appears before rhs in lexicographical order. Zero if lhs and rhs compare equal, or if count is zero. Positive value if lhs appears after rhs in lexicographical order. @see https:en.cppreference.com/w/c/string/byte/memcmp
See Also
- https:en.cppreference.com/w/c/string/byte/memcmp
Parameters
- dest - pointer to the object to fill @param ch - fill byte @param count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
- ch - fill byte @param count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
- count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
Returns
A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
See Also
- https:en.cppreference.com/w/c/string/byte/memset
Parameters
- dest - pointer to the object to fill @param ch - fill byte @param count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
- ch - fill byte @param count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
- count - number of bytes to fill @return A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
Returns
A copy of dest @see https:en.cppreference.com/w/c/string/byte/memset
See Also
- https:en.cppreference.com/w/c/string/byte/memset
Parameters
- dest - pointer to the object to fill @param ch - fill byte @param count - number of bytes to fill @param destsz - size of the destination array @return zero on success, non-zero on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz fill bytes ch to the destination array. @see https:en.cppreference.com/w/c/string/byte/memset
- ch - fill byte @param count - number of bytes to fill @param destsz - size of the destination array @return zero on success, non-zero on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz fill bytes ch to the destination array. @see https:en.cppreference.com/w/c/string/byte/memset
- count - number of bytes to fill @param destsz - size of the destination array @return zero on success, non-zero on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz fill bytes ch to the destination array. @see https:en.cppreference.com/w/c/string/byte/memset
- destsz - size of the destination array @return zero on success, non-zero on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz fill bytes ch to the destination array. @see https:en.cppreference.com/w/c/string/byte/memset
Returns
zero on success, non-zero on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz fill bytes ch to the destination array. @see https:en.cppreference.com/w/c/string/byte/memset
See Also
- https:en.cppreference.com/w/c/string/byte/memset
Parameters
- dest - pointer to the object to copy to TODO restricted @param src - pointer to the object to copy from TODO restricted @param count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memcpy
- src - pointer to the object to copy from TODO restricted @param count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memcpy
- count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memcpy
Returns
Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memcpy
See Also
- https:en.cppreference.com/w/c/string/byte/memcpy
Parameters
- dest - pointer to the object to copy to TODO restricted @param destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from TODO restricted @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memcpy
- destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from TODO restricted @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memcpy
- src - pointer to the object to copy from TODO restricted @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memcpy
- count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memcpy
Returns
Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memcpy
See Also
- https:en.cppreference.com/w/c/string/byte/memcpy
Parameters
- dest - pointer to the object to copy to @param destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from @param count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memmove
- destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from @param count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memmove
- src - pointer to the object to copy from @param count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memmove
- count - number of bytes to copy @return Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memmove
Returns
Returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/memmove
See Also
- https:en.cppreference.com/w/c/string/byte/memmove
Parameters
- dest - pointer to the object to copy to @param destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memmove
- destsz - max number of bytes to modify in the destination (typically the size of the destination object) @param src - pointer to the object to copy from @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memmove
- src - pointer to the object to copy from @param count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memmove
- count - number of bytes to copy @return Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memmove
Returns
Returns zero on success and non-zero value on error. Also on error, if dest is not a null pointer and destsz is valid, writes destsz zero bytes in to the destination array. @see https:en.cppreference.com/w/c/string/byte/memmove
See Also
- https:en.cppreference.com/w/c/string/byte/memmove
Parameters
- dest - pointer to the object to copy to TODO restricted @param src - pointer to the object to copy from TODO restricted @param c - terminating byte, converted to unsigned char at first @param count - number of bytes to copy @return If the byte (unsigned char)c was found, memccpy returns a pointer to the next byte in dest after (unsigned char)c. Otherwise it returns a null pointer.
- src - pointer to the object to copy from TODO restricted @param c - terminating byte, converted to unsigned char at first @param count - number of bytes to copy @return If the byte (unsigned char)c was found, memccpy returns a pointer to the next byte in dest after (unsigned char)c. Otherwise it returns a null pointer.
- c - terminating byte, converted to unsigned char at first @param count - number of bytes to copy @return If the byte (unsigned char)c was found, memccpy returns a pointer to the next byte in dest after (unsigned char)c. Otherwise it returns a null pointer.
- count - number of bytes to copy @return If the byte (unsigned char)c was found, memccpy returns a pointer to the next byte in dest after (unsigned char)c. Otherwise it returns a null pointer.
Returns
If the byte (unsigned char)c was found, memccpy returns a pointer to the next byte in dest after (unsigned char)c. Otherwise it returns a null pointer.
Parameters
- errnum - integral value referring to an error code @param buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Pointer to a null-terminated byte string corresponding to the errno error code errnum. @see https:en.cppreference.com/w/c/string/byte/strerror
- buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Pointer to a null-terminated byte string corresponding to the errno error code errnum. @see https:en.cppreference.com/w/c/string/byte/strerror
- bufsz - size of the user-provided buffer @return Pointer to a null-terminated byte string corresponding to the errno error code errnum. @see https:en.cppreference.com/w/c/string/byte/strerror
Returns
Pointer to a null-terminated byte string corresponding to the errno error code errnum. @see https:en.cppreference.com/w/c/string/byte/strerror
See Also
- https:en.cppreference.com/w/c/string/byte/strerror
Parameters
- errnum - integral value referring to an error code @param buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Zero if the entire message was successfully stored in buf, non-zero otherwise. @see https:en.cppreference.com/w/c/string/byte/strerror
- buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Zero if the entire message was successfully stored in buf, non-zero otherwise. @see https:en.cppreference.com/w/c/string/byte/strerror
- bufsz - size of the user-provided buffer @return Zero if the entire message was successfully stored in buf, non-zero otherwise. @see https:en.cppreference.com/w/c/string/byte/strerror
Returns
Zero if the entire message was successfully stored in buf, non-zero otherwise. @see https:en.cppreference.com/w/c/string/byte/strerror
See Also
- https:en.cppreference.com/w/c/string/byte/strerror
Parameters
- errnum - integral value referring to an error code @param buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Length (not including the null terminator) of the message that strerror_s would return @see https:en.cppreference.com/w/c/string/byte/strerror
- buf - pointer to a user-provided buffer @param bufsz - size of the user-provided buffer @return Length (not including the null terminator) of the message that strerror_s would return @see https:en.cppreference.com/w/c/string/byte/strerror
- bufsz - size of the user-provided buffer @return Length (not including the null terminator) of the message that strerror_s would return @see https:en.cppreference.com/w/c/string/byte/strerror
Returns
Length (not including the null terminator) of the message that strerror_s would return @see https:en.cppreference.com/w/c/string/byte/strerror
See Also
- https:en.cppreference.com/w/c/string/byte/strerror
Parameters
Returns
returns a copy of dest @see https:en.cppreference.com/w/c/string/byte/strcpy
See Also