10 constexpr void null_hook(void) {}
15 POSIX(POSIX
const&) = delete;
17 static void set_nonblocking(int fd
);
19 static bool input_ready(int fd_in
, std::chrono::milliseconds wait
);
20 static bool output_ready(int fd_out
, std::chrono::milliseconds wait
);
22 static std::streamsize
read(int fd
,
25 std::function
<void(void)> read_hook
,
26 std::chrono::milliseconds timeout
,
29 static std::streamsize
write(int fd
,
32 std::chrono::milliseconds timeout
,
36 #endif // POSIX_DOT_HPP