strlcpy is replaced with strncpy