2 ms·
Annex K is so useless that last time I checked not even Microsoft, the sponsor, implemented it completely. Also, if you dig into the Annex K API there are quit
by wahern 12y ago
Annex K is so useless that last time I checked not even Microsoft, the sponsor, implemented it completely.
Also, if you dig into the Annex K API there are quite a few problems with it, both technical and practical. It was half-baked. Some parts are salvageable, but really the API as a whole should be trashed.
strlcpy is useful and prevalent. Let's not let perfect be the enemy of good.
Trying to solve string management problems in C by getting everybody to agree on a "safe", comprehensive API is misguided and a waste of time.