This is the mail archive of the libc-alpha@sourceware.org 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]
Other format: [Raw text]

Re: [RFC] strcpy optimizations


> The behavior of strcpy is undefined in that case.
> So strcpy can do whatever it likes, and
> that includes using the pblendvb instruction.

Normally you have to handle this situation for any string code
that does accesses larger than a byte, because users can create
this by using offsets into strings.

-Andi


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