Anonymous user
Check input device is a terminal: Difference between revisions
→{{header|Rust}}: Updated to the Rust 1.2.0
(→{{header|Julia}}: A new entry for Julia) |
(→{{header|Rust}}: Updated to the Rust 1.2.0) |
||
Line 208:
=={{header|Rust}}==
<lang rust>/*
fn main() {
let istty = unsafe { libc::isatty(libc::
if
println!("
} else {
println!("
}
}</lang>
|