Skip to content
Commit baf48fbe authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

zephyr: Add UTF-8 truncating strlcpy variant



Add a function to copy a UTF-8 encoded string that
ensure correct truncation of the string if the source
is larger than the destination, as well as ensuring that
the resulting destination string is NULL-terminated.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 5cb72d21
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment