lv_strncpy() function
Copies up to dest_size characters from the string pointed to by src to the character array pointed to by dst and fills the remaining length with null bytes.
Arguments
dst
Pointer to the destination array where the content is to be copied.
src
Pointer to the source of data to be copied.
dest_size
Maximum number of characters to be copied to dst.
Return value
A pointer to the destination array, which is dst.
Notes
dst will not be null terminated if dest_size bytes were copied from src before the end of src was reached.
![]()
char * lv_strncpy(char * dst, const char * src, size_t dst_size)
lv_strncpy():
![]()
lv_strncpy()