diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 12:54:53 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2024-11-21 12:54:53 +0000 |
commit | 47ba2539ec89c842e3972f962f7bf14c238ea60c (patch) | |
tree | 323e51cfa9d137385e61aa9c5272c957435912da /lib/csu | |
parent | 2c347f26a71390d97a0b58ae937f8601a38166e4 (diff) |
Adjust imsgbuf_read to return an int with either 1, 0 or -1.
Handle EAGAIN by a simple return 1 (same for the fd check).
This way the caller will poll again and then retry later.
OK tb@
Diffstat (limited to 'lib/csu')
0 files changed, 0 insertions, 0 deletions