Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

strncpy vs. strcpy

Name: Anonymous 2008-08-23 18:46

Both functions are perfectly fine to use as long as they're used correctly, with valid input, in a legible manner.

However, which one would you guys say is easier to misuse? Which one has a greater potential impact when misused in the most typical way? And which one do you see misused more often in real code?

Name: Anonymous 2008-08-24 11:37

>>24
I visited /pr to introduce SICP, Satori and other important cultural elements there, but this accurate recreation of the Win32 API was much older here.

Actually, you wouldn't believe it, but I've invented this meme.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List