snprintf() always puts a nul terminator...
...unless the buffer has zero size. This is not to be confused with strncpy().
Showing
Please register or sign in to comment
...unless the buffer has zero size. This is not to be confused with strncpy().