summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/serial/serial.hh
diff options
context:
space:
mode:
authorhaller2005-05-03 23:32:24 +0000
committerhaller2005-05-03 23:32:24 +0000
commit626e59a6ab3e8efc91ac4808dd21ad69f4411366 (patch)
tree0714535e3f1694650e45960e568b4dd0f3bfc21f /2005/i/robert/src/serial/serial.hh
parent1088353f651f096d7ddf6f4e52bb962e452c16ff (diff)
Récupération des file descriptor
Diffstat (limited to '2005/i/robert/src/serial/serial.hh')
-rw-r--r--2005/i/robert/src/serial/serial.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/2005/i/robert/src/serial/serial.hh b/2005/i/robert/src/serial/serial.hh
index 71fdd26..23feb42 100644
--- a/2005/i/robert/src/serial/serial.hh
+++ b/2005/i/robert/src/serial/serial.hh
@@ -57,6 +57,8 @@ class Serial
/// Attend que des caractres soient disponibles pendant un delay en
/// millisecondes.
bool wait (int timeout = -1) { return sb_->wait (timeout); }
+ /// Rcupre le descripteur.
+ int getFd (void) { return sb_->getFd (); }
};
#endif // serial_hh