There is only a tiny issue with it : For some reason its able to accept a string that is too long to place in the target buffer, *but still
A few tests show that it just copies what it can and terminates that with a NUL.
Then what do you need to happen when the buffer doesn't have enough space?
Cause, that result is what a safe string copy process would do.
I could as easily imagine that it would return an error. What good does a partial copied string do ? It might even be dangerous (in my case: causing the wrong file or folder to be accessed) ...
Some strings are copied just for displays where if the source is
too long, the result will be truncated. Showing as much information
|Location:||Huddersfield, West Yorkshire, UK|
|Nodes:||8 (1 / 7)|