Files
RedBear-OS/ipcd/examples/helloclient.rs
T

9 lines
165 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(())
}