Quote:
Originally Posted by matthey
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
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.