|
mbsinit(3) -- test for initial shift state
|
Character conversion between the multibyte representation and the wide character representation uses conversion state, of type mbstate_t. Conversion of a string uses a finite-state machine; when it is... |
mbsnrtowcs(3) -- convert a multibyte string to a wide character string
|
The mbsnrtowcs function is like the mbsrtowcs function, except that the number of bytes to be converted, starting at *src, is limited to nms. If dest is not a NULL pointer, the mbsnrtowcs function con... |
mbsrtowcs(3) -- convert a multibyte string to a wide character string
|
If dest is not a NULL pointer, the mbsrtowcs function converts the multibyte string *src to a wide-character string starting at dest. At most len wide characters are written to dest. The shift state *... |
mbstowcs(3) -- convert a multibyte string to a wide character string
|
If dest is not a NULL pointer, the mbstowcs function converts the multibyte string src to a wide-character string starting at dest. At most n wide characters are written to dest. The conversion starts... |
mbtowc(3) -- convert a multibyte sequence to a wide character
|
The main case for this function is when s is not NULL and pwc is not NULL. In this case, the mbtowc function inspects at most n bytes of the multibyte string starting at s, extracts the next complete ... |
MB_CUR_MAX(3) -- maximum length of a multibyte character in the current locale
|
The MB_CUR_MAX macro defines an integer expression giving the maximum number of bytes needed to represent a single wide character in the current locale. It is locale dependent and therefore not a comp... |
MB_LEN_MAX(3) -- maximum multibyte length of a character across all locales
|
The MB_LEN_MAX macro is the upper bound for the number of bytes needed to represent a single wide character, across all locales. |
memccpy(3) -- copy memory area
|
The memccpy() function copies no more than n bytes from memory area src to memory area dest, stopping when the character c is found. |
memchr(3) -- scan memory for a character
|
The memchr() function scans the first n bytes of the memory area pointed to by s for the character c. The first byte to match c (interpreted as an unsigned character) stops the operation. |
memcmp(3) -- compare memory areas
|
The memcmp() function compares the first n bytes of the memory areas s1 and s2. It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match,... |
memcpy(3) -- copy memory area
|
The memcpy() function copies n bytes from memory area src to memory area dest. The memory areas may not overlap. Use memmove(3) if the memory areas do overlap. |
memfrob(3) -- frobnicate (encrypt) a memory area
|
The memfrob() function encrypts the first n bytes of the memory area s by exclusive-ORing each character with the number 42. The effect can be reversed by using memfrob() on the encrypted memory area.... |
memmem(3) -- locate a substring
|
The memmem() function finds the start of the first occurrence of the substring needle of length needlelen in the memory area haystack of length haystacklen. |