3 #include <glog/logging.h>
5 int main(int argc
, char* argv
[])
7 POSIX::set_nonblocking(0);
9 // Input /might/ be ready, so no CHECK().
10 POSIX::input_ready(0, std::chrono::milliseconds(1));
11 CHECK(POSIX::output_ready(1, std::chrono::milliseconds(1)));