Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: