strncpy doesn't add null-char to destination if source is longer than/equal to num