|
longjmp(3) -- non-local jump to a saved stack context
|
longjmp() and setjmp() are useful for dealing with errors and interrupts encountered in a low-level subroutine of a program. longjmp() restores the environment saved by the last call of setjmp() with ... |
lrint(3) -- round to nearest integer
|
These functions round their argument to the nearest integer value, using the current rounding direction. If x is infinite or NaN, or if the rounded value is outside the range of the return type, the n... |
|
lround(3) -- round to nearest integer, away from zero
|
These functions round their argument to the nearest integer value, rounding away from zero, regardless of the current rounding direction. If x is infinite or NaN, or if the rounded value is outside th... |
lsearch(3) -- linear search of an array.
|
lfind() and lsearch() perform a linear search for key in the array base which has *nmemb elements of size bytes each. The comparison function referenced by compar is expected to have two arguments whi... |
malloc(3) -- Allocate and free dynamic memory
|
calloc() allocates memory for an array of nmemb elements of size bytes each and returns a pointer to the allocated memory. The memory is set to zero. malloc() allocates size bytes and returns a pointe... |
mblen(3) -- determine number of bytes in next multibyte character
|
If s is not a NULL pointer, the mblen function inspects at most n bytes of the multibyte string starting at s and extracts the next complete multibyte character. It uses a static anonymous shift state... |
mbrlen(3) -- determine number of bytes in next multibyte character
|
The mbrlen function inspects at most n bytes of the multibyte string starting at s and extracts the next complete multibyte character. It updates the shift state *ps. If the multibyte character is not... |
mbrtowc(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 mbrtowc function inspects at most n bytes of the multibyte string starting at s, extracts the next complete... |
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. |