Files
RedBear-OS/examples/helloclient.rs
T
2019-04-25 14:50:50 +02:00

12 lines
175 B
Rust

use std::{
fs::File,
io
};
fn main() -> io::Result<()> {
let mut client = File::open("chan:hello")?;
io::copy(&mut client, &mut io::stdout())?;
Ok(())
}