2 ms·
It's mostly there to illustrate how a basic attempt to create a correct way to use a simple system call would look like, with error, retry, actually writing the
by candiodari 8y ago
It's mostly there to illustrate how a basic attempt to create a correct way to use a simple system call would look like, with error, retry, actually writing the entire buffer and timeout would look like.
I realize that it'd be lunacy to have this sort of code anywhere but in a library.