]>
git.proxmox.com Git - rustc.git/blob - src/libstd/sys/wasm/stdio.rs
8 pub fn new() -> io
::Result
<Stdin
> {
13 impl io
::Read
for Stdin
{
14 fn read(&mut self, _buf
: &mut [u8]) -> io
::Result
<usize> {
20 pub fn new() -> io
::Result
<Stdout
> {
25 impl io
::Write
for Stdout
{
26 fn write(&mut self, buf
: &[u8]) -> io
::Result
<usize> {
30 fn flush(&mut self) -> io
::Result
<()> {
36 pub fn new() -> io
::Result
<Stderr
> {
41 impl io
::Write
for Stderr
{
42 fn write(&mut self, buf
: &[u8]) -> io
::Result
<usize> {
46 fn flush(&mut self) -> io
::Result
<()> {
51 pub const STDIN_BUF_SIZE
: usize = 0;
53 pub fn is_ebadf(_err
: &io
::Error
) -> bool
{
57 pub fn panic_output() -> Option
<Vec
<u8>> {