Y
Hacker News
new
|
ask
|
show
|
jobs
by
inopinatus
1565 days ago
tldr: always check the return value of system calls.
(also, printf is buffered, so close or flush your output)