I don't use null terminated strings. ptr+len struct everywhere. And when I need to call an API, like fopen, I make a temporary copy of that string + the null termination, do my work and then free it.
You can printf non-null terminated strings too. Check printf("%.*s", length, strptr).