Hacker News new | ask | show | jobs
by 1718627440 24 days ago
It's also idiomatic in C to use the return value solely for sentinels and pass the actual result in an output variable.