2 ms·
There's a difference between strncmp existing precisely so you can specify how many characters to compare, vs. throwing away trailing characters in a string jus
by ctdonath 15y ago
There's a difference between strncmp existing precisely so you can specify how many characters to compare, vs. throwing away trailing characters in a string just because, by sheer chance, it contains only numerics.