tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: strnlen(3) in kernel



> 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).

if it is in the kernel, it's strnlen(9)  :-)

seems fine to me.


.mrg.


Home | Main Index | Thread Index | Old Index