|
|
|
|
|
by usrbinbash
1560 days ago
|
|
Whether the program fails or not, is a matter of specification. printf("Hello, World!\n")
Is me saying: "Do a write syscall to stdout. I don't care what the return value is, I don't care if the flush is successfull if stdout happens to be buffered." If that is what I want to do, aka. what the program is specified to do, then it didn't fail. |
|