3 ms·
> TODO: Discuss the bounds-checking versions added in Annex K of the 2011 ISO C standard Not of any use, few libcs support Annex K, which essentially "standard
by masklinn 10y ago
> TODO: Discuss the bounds-checking versions added in Annex K of the 2011 ISO C standard
Not of any use, few libcs support Annex K, which essentially "standardises" Microsoft extensions. Annex K was repeatedly rejected by GNU libc.
You're probably better off using the portable BSD functions (strl*).
- camgunz 10y agoI've wondered about Annex K for a while. Basically as soon as C11 was standardized, every C programmer (including me) said, "oh, Annex K is useless". Is the C standardization process that detached from the C programming community? Or are there real use cases for Annex K that I just can't see?
- gpderetta 10y agoThe C standard document N1967 has an overview of pros and cons of annex K and concludes suggesting deprecation or outright removal.