--- Steve Borho <[EMAIL PROTECTED]> wrote:
> Speaking to just pure style, though, that while loop
> reminds me of the
> most efficient C snippet I've ever seen.  It's the
> standard implementation
> of strcpy.
> 
>     for (;*s;)
>       *d++ = *s++;


One question about this code snippet: Won't it fail to copy
the terminating '\0' into the target string?

=====
Ken Gosier
[EMAIL PROTECTED]

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to