Re: [dev] strlcpy and strlcat

From: sin <sin_AT_2f30.org>
Date: Sat, 21 Dec 2013 12:03:38 +0000

On Sat, Dec 21, 2013 at 01:32:44PM +1100, Daniel Bryan wrote:
> I just read this message by an OpenBSD developer on the prevalence of
> strlcpy in the OpenBSD ports tree:
>
> http://marc.info/?l=openbsd-tech&m=138733933417096&w=2
>
> I'd like to know what the opinion here is of these functions. I've so
> far avoided them, but it seems like there's an argument to be made for
> their simplicity, though they're not POSIX standard.

I've included these functions as part of ubase[1]. There is a possibility
that they will be included in sbase, if and when we need them.

[1] http://git.suckless.org/ubase/tree/util
Received on Sat Dec 21 2013 - 13:03:38 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 21 2013 - 13:12:06 CET