strlcpy returns offset of dst + len of src which requires strlen(src) which isn&#x27;t optional and sort of sucks imo.
Something very similar but that doesn&#x27;t do strlen(src) such as <a href="https:&#x2F;&#x2F;godbolt.org&#x2F;g&#x2F;Etpuhz" rel="nofollow">https:&#x2F;&#x2F;godbolt.org&#x2F;g&#x2F;Etpuhz</a> would be better.