1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-09-09 18:40:33 +03:00

add includes for <stddef.h> <stdarg.h> <stdio.h> to Arduino.h

add strtok
This commit is contained in:
Markus Sattler
2015-04-17 12:19:58 +02:00
parent 6cf87708c5
commit b6ea1e45af
2 changed files with 12 additions and 3 deletions

View File

@@ -159,6 +159,10 @@ char* ICACHE_FLASH_ATTR strncat(char * dest, const char * src, size_t n) {
return dest;
}
char* ICACHE_FLASH_ATTR strtok(char * str, const char * delimiters) {
return strtok_r(str, delimiters, NULL);
}
char* ICACHE_FLASH_ATTR strtok_r(char * str, const char * delimiters, char ** temp) {
static char * ret = NULL;
char * start = NULL;