Re:C: Simple Defer, Ready to Use
by Dwedit on Monday January 06, 2025 @06:26PM
(#42617316)
There have been things done to try to fix that, see "strcpy_s" and other related functions. Visual Studio even considers use of the classic string functions (like "strcpy") to be a compiler error. You need to define a specific macro before you are allowed to use them.
[ Parent
| on HN ]
The much dreaded Annex K functions are perhaps the worst possible example of an attempt at "fixing" anything safety related in C. A waste of ink.