[c] How to check if C string is empty