Date: Thu, 11 Dec 2008 22:34:14 +0300 From: pluknet <pluknet@gmail.com> To: "Ed Schouten" <ed@80386.nl> Cc: FreeBSD Arch <freebsd-arch@freebsd.org> Subject: Re: [Patch] strnlen(3) Message-ID: <a31046fc0812111134ve9e31f3t14cc343bacda95ab@mail.gmail.com> In-Reply-To: <20081211190436.GE1176@hoeg.nl> References: <49381DD4.2000506@kasimir.com> <20081211175519.GD1176@hoeg.nl> <20081211190436.GE1176@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
2008/12/11 Ed Schouten <ed@80386.nl>: > Hello all, > > I've attached a patch, that adds strnlen(3) to libc. It also moves > strndup(3) out of __BSD_VISIBLE. I'll see if it survives `make universe' > and commit it soonish. Any comments? > btw, we already have strnlen under BSD license in the tree (in contribs), which is more optimized (uses one less instruction). > -- > Ed Schouten <ed@80386.nl> > WWW: http://80386.nl/ > -- wbr, pluknet
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0812111134ve9e31f3t14cc343bacda95ab>