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

[syscalls] Add rx_buf_available to zx_info_socket

We currently report the total amount of data that clients can ever read
out of the socket, but we need to know the amount of data that can be
read out of the socket in one zx_socket_read call in order to replace
the NULL/0 behavior from zx_socket_read.

This CL adds rx_buf_available to zx_info_socket to contain that
information.

Test: socket_buffer_test
Change-Id: Icb8f2bc314eed5d4afce6190fd11cc08ef6b9d00
parent e2d4982a
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