In article <4e5ea673.8030...@free.fr>,
Jean-Yves Migeon  <jeanyves.mig...@free.fr> wrote:
>-=-=-=-=-=-
>
>Hi list,
>
>Subject says it all. Anyone objects?
>
>Motivation behind:
>- we already have strlen(3), so having strnlen(3) in kernel is somehow
>natural.
>- avoids things like [1] (there are probably other possible consumers in
>kernel).
>
>http://nxr.netbsd.org/xref/src/sys/arch/usermode/usermode/copy.c#34
>
>Comments? If no-one objects, I'll commit this at the end of the week.
>
>-- 

Looks fine to me. Don't forget to remove the duplicate copy from
src/lib/libc/string

christos

Reply via email to