Hacker News new | past | comments | ask | show | jobs | submit login

exit is a function returning void, which was traditionally coerced to 0 but anymore. Yusuke Endoh's patch [1] is available.

[1] https://mame.github.io/ioccc-ja-spoilers/patches/1990-tbr.pa...




No coercion needed. Pre-ANSI C does not have a void type, so unless otherwise specified the return type of a function defaults to int.




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: