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

First off, main should return 0 on success, not 1. Second, puts() will happily return 0 when writing to /dev/full.


Only if the write is buffered, right?




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

Search: