strncmp is a C function, which requires C strings.