[Patch] strnlen(3)

pluknet pluknet at gmail.com
Thu Dec 11 11:34:24 PST 2008


2008/12/11 Ed Schouten <ed at 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 at 80386.nl>
>  WWW: http://80386.nl/
>

-- 
wbr,
pluknet


More information about the freebsd-arch mailing list