Steven Schveighoffer:extern(C) int strlen(const(char)* str);C has no const(char)* so I am now thinking about a possible D2 diagnostic enhancement request that turns that line of code into a compile time error :-)
But an extern(C) function does not have to be written in C :) -Steve