/****************************************************************************** * This program simply copies an input stream to the console character by * character like the Unix 'cat' program. * * Copyright © 2020 Richard Lesh. All rights reserved. *****************************************************************************/ fn main() { let mut c:i32 = 0; while getcodepoint(c) { putcodepoint(c); } }