MCPcopy 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

28impl 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_writeFunction · 0.80

Calls 2

is_read_writeMethod · 0.80
seekMethod · 0.80

Tested by 1

file_is_read_writeFunction · 0.64