1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-27 18:02:17 +03:00

emulation on host: add missing strlcat strlcpy (#6327)

This commit is contained in:
david gauchard
2019-07-23 11:13:50 +02:00
committed by GitHub
parent 82a1382864
commit a64ef544d9
3 changed files with 90 additions and 0 deletions

View File

@ -37,6 +37,7 @@
#ifdef __cplusplus
#include <vector>
#endif
#include <stddef.h>
#ifdef __cplusplus
@ -49,6 +50,8 @@ char* ltoa (long val, char *s, int radix);
}
#endif
size_t strlcat(char *dst, const char *src, size_t size);
size_t strlcpy(char *dst, const char *src, size_t size);
// exotic typedefs used in the sdk