Skip to content
Snippets Groups Projects
Commit 5f1db5c3 authored by Adam Barth's avatar Adam Barth Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fdio] Rationalize default handling for null read/write

Previously, the default behavior for read was to succeed at reading zero
bytes and the default behavior for write was to succeed at writing all
the bytes (even though nothing actually happened in either case).

After this CL, these operations fail by default and the exact failure
behavior is consistent between fdio and zxio.

Test: null-test
Change-Id: I22587be52de3571ccefd25f21ec20180b3380cf1
parent ad9516b9
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment