Lurker News
Back to discussion

Comment by saagarjha

saagarjha1 reply#
Or point to the wrong thing, or point to unmapped memory, or be const, or…there's a lot of things that can go wrong with this function.
jjnoakes#
The things I listed are things the function does right as written but could not do if it worked the way suggested above.

The things you listed are general concerns in C which are unrelated to both the correct implementation and the suggested changes.