strlen() - Considered Harmful
Ethan J Marshall
strlen is one of the most misunderstood and overused routines in the entire C standard library. I have noticed that the quality of a program is inversely proportional with the total number of strlen() statements in the entire program. This is why.
POSIX strlen spec: https://pubs.opengroup.org/onlinepubs/9699919799/functions/strlen.html
Site: https://ethanjmarshall.co.uk GitHub: https://github.com/ethanv2 Twitter: /dev/null ... https://www.youtube.com/watch?v=2XJzSuzgtrE
2022-05-26
0.0 LBC
Copyrighted (contact publisher)
28786053 Bytes