Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/system-interface
/ num_ready_bytes
Method
num_ready_bytes
src/io/read_ready.rs:30–32 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
28
impl ReadReady for Stdin {
29
#[inline]
30
fn num_ready_bytes(&self) -> io::Result<u64> {
31
Ok(ioctl_fionread(self)?)
32
}
33
}
34
35
/// Implement `ReadReady` for `Stdin`.
Callers
1
file_is_read_write
Function · 0.80
Calls
2
is_read_write
Method · 0.80
seek
Method · 0.80
Tested by
1
file_is_read_write
Function · 0.64