Back to discussionComment by saagarjha[-]saagarjha7 years ago1 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.jjnoakes7 years ago#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.
saagarjha7 years ago1 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.
jjnoakes7 years ago#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.
The things you listed are general concerns in C which are unrelated to both the correct implementation and the suggested changes.