Hacker News new | ask | show | jobs
by codehero 5169 days ago
strcpy and stpcpy are functionally equivalent, but differ only in return value. stpcpy is superior because it points to the end of the string, thus letting the caller know how many bytes were copied.