Hacker News new | ask | show | jobs
by nemetroid 1561 days ago
First off, main should return 0 on success, not 1. Second, puts() will happily return 0 when writing to /dev/full.
1 comments

Only if the write is buffered, right?