News for hackers. Stuff that matters.
Re:strncpy() is not a safer strcpy() (2012) by searchfaster on Saturday April 29, 2017 @02:20PM (#14227887)
I have always been using snprintf
Re:strncpy() is not a safer strcpy() (2012) by krylon on Sunday April 30, 2017 @07:01AM (#14230980)
Hehe, me too. Or memcpy and handling the terminating nul byte myself. But snprintf is just too convenient.