Function term_input::read_stdin [−][src]
pub fn read_stdin(buf: &mut Vec<u8>) -> bool
Read stdin contents if it's ready for reading. Returns true when it was able to read. Buffer is not modified when return value is 0.
pub fn read_stdin(buf: &mut Vec<u8>) -> bool
Read stdin contents if it's ready for reading. Returns true when it was able to read. Buffer is not modified when return value is 0.