This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Should we remove all internal usages of bcopy/bzero?


> Roland McGrath <roland@frob.com> writes:
> 
> > For bzero, I wonder if it might not be worth having optimized memset
> > macros check __builtin_constant_p and == 0 and refer to the bzero code.
> 
> Look at <bits/string2.h>

In that case, there is no particular reason not to change bzero calls
to memset.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]