mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tail: add equivalent of stdin_is_pipe_or_fifo() for Windows
* add support to determine if stdin is readable on Windows
This commit is contained in:
parent
6a1cf72316
commit
84480f892d
4 changed files with 12 additions and 5 deletions
|
@ -11,7 +11,9 @@ extern crate tail;
|
|||
|
||||
use crate::common::util::*;
|
||||
use std::char::from_digit;
|
||||
use std::io::{Read, Write};
|
||||
#[cfg(unix)]
|
||||
use std::io::Read;
|
||||
use std::io::Write;
|
||||
use std::process::Stdio;
|
||||
#[cfg(unix)]
|
||||
use std::thread::sleep;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue