3 ms·
First off, main should return 0 on success, not 1. Second, puts() will happily return 0 when writing to /dev/full.
by nemetroid 5y ago
First off, main should return 0 on success, not 1. Second, puts() will happily return 0 when writing to /dev/full.
- kikoreis 5y agoOnly if the write is buffered, right?