summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/serial/serial.hh
diff options
context:
space:
mode:
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 caractères soient disponibles pendant un delay en
/// millisecondes.
bool wait (int timeout = -1) { return sb_->wait (timeout); }
+ /// Récupère le descripteur.
+ int getFd (void) { return sb_->getFd (); }
};
#endif // serial_hh