View Single Post
Old 20 January 2017, 18:52   #41
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 47
Posts: 3,806
Quote:
Originally Posted by matthey View Post
I expect it is generally better to inline strcpy() where it is called than unroll strcpy()
This code can be both inlined and unrolled at the same time.

Quote:
Originally Posted by matthey View Post
It is much more useful to return a pointer to the end of the string like stpcpy().
What's more useful depends on what's needed and how the function is called.
Thorham is offline  
 
Page generated in 0.04618 seconds with 11 queries