4 ms·
You mean strcpy_s?
by palish 15y ago
You mean strcpy_s?
- owenmarshall 15y agoOpenBSD po-ta-to, Windows po-tah-to.
- palish 15y agoIt was tongue-in-cheek. I think it's silly that Microsoft adds "_s" to a lot of the standard functions; it makes porting more difficult. Of course, it was sillier not to write "strcpy" as strcpy(dest,maxSize,src) from the beginning. And "memcpy" as memcpy(dest,maxSize,count,src). But I guess whoever wrote those weren't really expecting them to be one of the most frequently used functions in computer programming history...