std::strrchr

Defined in header <cstring> const char* strrchr( const char* str, int ch ); char* strrchr( char* str, int ch ); Finds the last occurrence of ch (after conversion to char) in the byte string pointed to by str. The terminating null character is considered to be a part of the string and can be found if searching for '\0'. Parameters str - pointer to the null-terminated byte string to be analyzed ch - character to search for Return value Po

std::strspn

Defined in header <cstring> size_t strspn( const char* dest, const char* src ); Returns the length of the maximum initial segment (span) of the byte string pointed to by dest, that consists of only the characters found in byte string pointed to by src. Parameters dest - pointer to the null-terminated byte string to be analyzed src - pointer to the null-terminated byte string that contains the characters to search for Return value The length of the maximu

std::strftime

Defined in header <ctime> std::size_t strftime( char* str, std::size_t count, const char* format, const std::tm* time ); Converts the date and time information from a given calendar time time to a null-terminated multibyte character string str according to format string format. Up to count bytes are written. Parameters str - pointer to the first element of the char array for output count - maximum number of bytes to write format - pointer to a null-termi

std::strncat

Defined in header <cstring> char *strncat( char *dest, const char *src, std::size_t count ); Appends a byte string pointed to by src to a byte string pointed to by dest. At most count characters are copied. The resulting byte string is null-terminated. The destination byte string must have enough space for the contents of both dest and src plus the terminating null character, except that the size of src is limited to count. The behavior is undefined if the strings overlap.

std::strlen

Defined in header <cstring> std::size_t strlen( const char* str ); Returns the length of the given byte string, that is, the number of characters in a character array whose first element is pointed to by str up to and not including the first null character. The behavior is undefined if there is no null character in the character array pointed to by str. Parameters str - pointer to the null-terminated byte string to be examined Return value The length of the nu

std::strncpy

Defined in header <cstring> char *strncpy( char *dest, const char *src, std::size_t count ); Copies at most count characters of the byte string pointed to by src (including the terminating null character) to character array pointed to by dest. If count is reached before the entire string src was copied, the resulting character array is not null-terminated. If, after copying the terminating null character from src, count is not reached, additional null characters are written

std::strncmp

Defined in header <cstring> int strncmp( const char* lhs, const char* rhs, size_t count ); Compares at most count characters of two null-terminated byte strings. The comparison is done lexicographically. The sign of the result is the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char) that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated strings. Para

std::strpbrk

Defined in header <cstring> const char* strpbrk( const char* dest, const char* breakset ); char* strpbrk( char* dest, const char* breakset ); Scans the null-terminated byte string pointed to by dest for any character from the null-terminated byte string pointed to by breakset, and returns a pointer to that character. Parameters dest - pointer to the null-terminated byte string to be analyzed breakset - pointer to the null-terminated byte stri

std::streamsize

Defined in header <ios> typedef /*unspecified*/ streamsize; The type std::streamsize is a signed integral type used to represent the number of characters transferred in an I/O operation or the size of an I/O buffer. It is used as a signed counterpart of std::size_t, similar to the POSIX type ssize_t. Except in the constructors of std::strstreambuf, negative values of std::streamsize are never used. See also gcount returns number of characters extracted by last unform

std::streamoff

Defined in header <ios> typedef /*unspecified*/ streamoff; The type std::streamoff is a signed integral type of sufficient size to represent the maximum possible file size supported by the operating system. Typically, this is a typedef to long long. It is used to represent offsets from stream positions (values of type std::fpos). A std::streamoff value of -1 is also used to represent error conditions by some of the I/O library functions. Relationship with std::fpos the