The different ways to handle errors in C
C doesn't have a single clear way to handle errors. The tutorials out there are pretty much garbage too. So for this post, we are going to work with the toy example of a function that parses natural numbers from a string and go through the different approaches.
https://mccue.dev/pages/7-27-22-c-errors