strlcpy and wcslcpy exist on most Unix except Linux.