Złośliwość Microchipa powiadasz

Jasne... Microchip kierowany jest złośliwością
http://lmgtfy.com/?q=strtok_r+implementation+in+chttp://lmgtfy.com/?q=strncasecmp+implementation+in+chttp://ww1.microchip.com/downloads/en/D ... 01686H.pdf strona 20.
Zapoznaj się z tym dokumentem. Będziesz miał mniej pytań i spekulacji...
Cytuj:
All of the MPLAB XC compilers conform to the ANSI X3.159-1989 Standard for pro- gramming languages (with the exception of the MPLAB XC8 compiler’s inability to allow recursion, as mentioned in the footnote). This is commonly called the C89 Standard. Some features from the later standard, C99, are also supported.
Zwróć uwagę na ->C89<-. strtok_r() dostępne jest od C90
strcasecmp() jest w standardzie IEEE Std 1003.1-2001 i w nagłówku strings.h (zwróć uwagę na "s") a to nie jest standard ANSI-C z którym deklaruje zgodność Microchip. To jest standard POSIX.1 czyli rodzina "okolice Unix'ów".
Tu masz jeszcze standardy
http://port70.net/~nsz/c/