Get the latest tech news
C has its limits. If you know where to look
Thank you, Bing Copilot (ChatGPT), for giving me another “thing I just learned” to blog about. In the early days of “K&R C”, things were quite a bit different. C was not…
All the OS library calls were prototyped to use these special types, though if you know an “unsigned long” was the same as an “u_int32” or a “short” was the same as an “int16” you could still use those. But this week, I was working on code that needed to find the highest and lowest values in a 32-bit number range. (Though I used hex, since I know 0xffffffff is the max value, and always have to look up or use a calculator to find out the decimal version.)
Or read this on Hacker News