]> git.tdb.fi Git - libs/core.git/blobdiff - source/io/buffered.cpp
Implement controls for file descriptor inheritance
[libs/core.git] / source / io / buffered.cpp
index 53f83912a67bcf8ad5237cce37908afd44651359..2836e4bbbaeb879de07be26bf5fba2ecea8fcad9 100644 (file)
@@ -32,6 +32,16 @@ Buffered::~Buffered()
        delete[] buf;
 }
 
+void Buffered::set_block(bool)
+{
+       throw logic_error("Buffered::set_block");
+}
+
+void Buffered::set_inherit(bool)
+{
+       throw logic_error("Buffered::set_block");
+}
+
 void Buffered::flush()
 {
        if(cur_op==M_WRITE)
@@ -168,6 +178,11 @@ int Buffered::get()
        return static_cast<unsigned char>(c);
 }
 
+const Handle &Buffered::get_handle(Mode)
+{
+       throw logic_error("Buffered::get_handle");
+}
+
 void Buffered::set_op(Mode op)
 {
        if(op!=cur_op)