summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2024-11-21 12:49:59 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2024-11-21 12:49:59 +0000
commit9fba74e48ba9ca6c311c192d8323f3bc0e202863 (patch)
tree807a5904a416e2391e625824a9c26c39672c952f /lib/libc
parent2bf4f07177486bda8a275b0c6676a016788d8e54 (diff)
Simplify imsg_write, msgbuf_write and ibuf_write return codes.
Return 0 on success or when a temporary error happened (EAGAIN, ENOBUFS). Return -1 on error and set errno otherwise. Kill the old 0 return for EOF. This is not how write operations work. OK tb@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions