Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
moloch-hai
on Jan 21, 2023
|
parent
|
context
|
favorite
| on:
Who Needs Main() Anyway?
It didn't crash until after its work was done. It could even have trapped the segfault and exited cleanly.
marssaxman
on Jan 22, 2023
[–]
Couldn't just call exit(0)?
moloch-hai
on Jan 22, 2023
|
parent
[–]
Maybe, or _exit().
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: