Timeline for What was the original purpose of C strncpy() function?
Current License: CC BY-SA 4.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 13, 2022 at 16:20 | comment | added | hyde | I didn't mean to imply, that the use case has disappeared (though I'd say it's more robust to first zero an entire struct instead of individual fields), but rather wonder if that was the original purpose of the function. | |
| Apr 13, 2022 at 12:54 | history | answered | Useless | CC BY-SA 4.0 |