![]() |
Morse Micro IoT SDK
2.6.4-esp32
|
Functions | |
| static bool | mmosal_safer_strcpy (char *dst, const char *src, size_t size) |
A safer version of strncpy. More... | |
|
inlinestatic |
A safer version of strncpy.
Up to size - 1 bytes will be copied from src to dst and the result will be null-terminated.
| dst | The buffer to copy the string into. |
| src | The source string. This must be null-terminated. |
| size | The size of the dst buffer. |