NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages
ex_strncmp.nxc

This is an example of how to use the strncmp function.

int i = strncmp(msg, "foo", 2); // returns -1, 0, or 1