News for hackers. Stuff that matters.
Re:Bugs in Hello World by nemetroid on Wednesday March 09, 2022 @04:48AM (#30612696)
First off, main should return 0 on success, not 1. Second, puts() will happily return 0 when writing to /dev/full.
Re:Bugs in Hello World by kikoreis on Wednesday March 09, 2022 @07:38AM (#30613775)
Only if the write is buffered, right?