mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
10 lines
201 B
Rust
10 lines
201 B
Rust
extern crate atty;
|
|
|
|
use atty::{is, Stream};
|
|
|
|
fn main() {
|
|
println!("stdout? {}", is(Stream::Stdout));
|
|
println!("stderr? {}", is(Stream::Stderr));
|
|
println!("stdin? {}", is(Stream::Stdin));
|
|
}
|