Typical strlen() traverse from first character till it finds \\0.
This requires you to traverse each and every character.
In algorithm sense, its O(N).
You can try to use vectorization. Not sure if compiler will be able perform it, but I did it manually (using intrinsics). But it could help you only for long strings.
Use stl strings, it's more safe and std::string class contains its length.