> snprintf always writes terminating '\0' character at the end of the string. Only if the buffer contains enough space for the terminating null. > You don't need to explicitly do that yourself. That's probably true in this case. --Juan