This commit is contained in:
Yifan Wu 2022-01-22 12:54:33 -08:00
parent 0d189e9ad7
commit 4a169450f8

View File

@ -21,7 +21,7 @@ pub fn main(argc: usize, argv: &[&str]) -> i32 {
if size == 0 { if size == 0 {
break; break;
} }
println!("{}", core::str::from_utf8(&buf[..size]).unwrap()); print!("{}", core::str::from_utf8(&buf[..size]).unwrap());
} }
close(fd); close(fd);
0 0