mirror of
https://github.com/sheumann/hush.git
synced 2025-01-02 09:31:26 +00:00
corrected English in comment
This commit is contained in:
parent
a523e2efad
commit
081efd1232
@ -54,7 +54,7 @@ ssize_t safe_read(int fd, void *buf, size_t count)
|
|||||||
* So far I don't see any good solution, I can only propose
|
* So far I don't see any good solution, I can only propose
|
||||||
* that affected readers should be careful and use this routine,
|
* that affected readers should be careful and use this routine,
|
||||||
* which detects EAGAIN and uses poll() to wait on the fd.
|
* which detects EAGAIN and uses poll() to wait on the fd.
|
||||||
* Thanksfully, poll() doesn't give rat's ass about O_NONBLOCK flag.
|
* Thankfully, poll() doesn't care about O_NONBLOCK flag.
|
||||||
*/
|
*/
|
||||||
ssize_t nonblock_safe_read(int fd, void *buf, size_t count)
|
ssize_t nonblock_safe_read(int fd, void *buf, size_t count)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user