I'm wondering about the most idiomatic way to deal with error states without using exceptions. Yes, I'm using betterC, and no, I don't have a choice since I'm writing a drop-in replacement for an existing C library.
That library really doesn't have any error reporting except for log output, but I still need to deal with parsing, etc. errors internally.