Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lsiebert
on July 14, 2015
|
parent
|
context
|
favorite
| on:
Re: C as used/implemented in practice
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: