On Tue, Mar 20, 2001 at 01:12:46 -0800, Alfred Perlstein wrote:
> > +                           p += sz;
> > +                           while(sz--)
> > +                                   *ri++ = '?';
> 
> Why didn't you use strlcpy/memcpy as suggested?


Choosen method is right. Calling *cpy for just one byte in 99% cases is
overhead.

-- 
Andrey A. Chernov
http://ache.pp.ru/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to