Next: , Previous: , Up: Elementary Unicode string functions <unistr.h>   [Contents][Index]


4.4 Elementary string functions with memory allocation

The following function copies a Unicode string.

Function: uint8_t * u8_cpy_alloc (const uint8_t *s, size_t n)
Function: uint16_t * u16_cpy_alloc (const uint16_t *s, size_t n)
Function: uint32_t * u32_cpy_alloc (const uint32_t *s, size_t n)

Makes a freshly allocated copy of s, of length n.