Hacker News new | ask | show | jobs
by GlitchMr 2911 days ago
strncpy is not safe strcpy, for any value of safe. Period. str in the name is really misleading as it's not really a string function to begin with.