As bcopy(3) is deprecated, the same happened to bzero(3).
The bzero(3) is a bit faster than memset(3) as it has less internal
checks. However, it is not POSIX standard anymore.
I guess, FreeBSD shall follow the POSIX implementation.
Differential D3380
Update bzero(3) manpage to following the Posix standard. Authored by araujo on Aug 14 2015, 5:45 AM. Tags None Referenced Files
Details
As bcopy(3) is deprecated, the same happened to bzero(3). The bzero(3) is a bit faster than memset(3) as it has less internal igor -R
Diff Detail
Event TimelineComment Actions I was going to suggest a link to explicit_bzero(3) but the explicit_bzero() page already contains the bzero(3) description so perhaps we should unify them and use a symlink.
Comment Actions @pfg with the MLINKS+=bzero.3 explicit_bzero.3, it does cover your suggestion, doesn't it? Comment Actions For the record, I would prefer merging the explicit_bzero(3) and the bzero(3) pages together and getting rid of one of them, but this is an issue for the documentation project. Comment Actions Wait .. you are right,: for some reason I was looking at the bzero(3) manpage in 10.0. Still there is an unaddressed comment which I cannot see but I thought I had made. please soften the requirement to use memset.
Comment Actions Address @pfg suggestion. Comment Actions Man page looks good to me. Please remember to check with igor -R and mandoc -Tlint, too. Thanks! | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||