From 5bfeddc0c27b7cd896efd8c0b6ef2b5682ec4640 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 21 Feb 2017 09:01:49 +0100 Subject: termios: Add kqueue() and poll() support Real implementation is provided by libbsd. --- cpukit/libcsupport/include/rtems/termiostypes.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'cpukit/libcsupport/include/rtems/termiostypes.h') diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/termiostypes.h index 3cf6bebe19..2dcaa16abd 100644 --- a/cpukit/libcsupport/include/rtems/termiostypes.h +++ b/cpukit/libcsupport/include/rtems/termiostypes.h @@ -555,6 +555,26 @@ int rtems_termios_set_initial_baud( rtems_termios_baud_t baud ); +/** + * @brief Termios kqueue() filter filesystem node handler + * + * Real implementation is provided by libbsd. + */ +int rtems_termios_kqfilter( + rtems_libio_t *iop, + struct knote *kn +); + +/** + * @brief Termios poll() filesystem node handler. + * + * Real implementation is provided by libbsd. + */ +int rtems_termios_poll( + rtems_libio_t *iop, + int events +); + #ifdef __cplusplus } #endif -- cgit v1.2.3