5 #include <Poco/BufferedStreamBuf.h>
6 #include <Poco/Timespan.h>
15 FdStreamBuf(
int fd, std::streamsize size, openmode mode);
21 int writeToDevice(
const char *buffer, std::streamsize size)
override;
22 int readFromDevice(
char *buffer, std::streamsize capacity)
override;
42 FdStreamIOS(
int fd, std::streamsize size, openmode mode);
45 void setBlocking(
bool blocking);
46 bool blocking()
const;
47 void assign(
int fd,
bool closeOld =
true);
51 bool poll(
struct pollfd &fd,
const Poco::Timespan &timeout)
const;
62 bool poll(
const Poco::Timespan &timeout)
const;
70 bool poll(
const Poco::Timespan &timeout)
const;
Definition: FdStream.h:30
Definition: FdStream.h:12
Definition: FdStream.h:65