News for hackers. Stuff that matters.
Re:Re: C as used/implemented in practice by lsiebert on Tuesday July 14, 2015 @01:55AM (#9883115)
I think this works best if you pass a pointer to an error structure in the parameters. I've found people often use signed integer types with arrays so they can return a -1 to signal that something went wrong.

There are no comments on this comment yet.