![]()  | 
![]()  | 
![]()  | 
![]()  | 
Create a copy of part of a UTF-8 character string
char *utf8strndup( char const *text, 
                   int count, 
                   int *bytes );
ph
The utf8strndup() function creates a copy of the first count characters of the given UTF-8 character string, text. It sets bytes to the number of bytes in the resulting string, not including the terminating \0.
A pointer to the new string.
Photon
| Safety: | |
|---|---|
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
Unicode Multilingual Support in the Photon Programmer's Guide
![]()  | 
![]()  | 
![]()  | 
![]()  |