BSD systems implement wide-character versions of the small strl* family of functions. There are (few) programs out there which ship their own implementations of wcslcpy() and wcslcat(). Being one of the distinguishing sets of functions available on BSD, it would be great if the wide-character versions could be shipped with libbsd. Then, when programs move to using libbsd, they can drop their bundled wcsl* function at the same time as when they clean out their strl* implementations.
I assume that these implementations can just be copied out from the existing implementations in the openbsd libc with little change like the strl* functions. I might attempt to make such a patch that does such if I have time.
I actually have those locally, pending a push, in addition to fgetwln().
Thanks for the report.
Fixed in libbsd 0.5.0.