5
Last change
on this file since 667501a was
667501a,
checked in by Joel Sherrill <joel@…>, on 10/02/19 at 21:49:00
|
termios: Add Capability to Generate SIGINTR and SIGQUIT
This patch adds the ability for termios to send SIGINTR on receipt
of VINTR and SIGQUIT for VKILL and return -1/EINTR from read() on
a termios channel. Importantly, this patch does not alter the default
behavior or force POSIX signal code in just because termios is used.
The application must explicitly enable the POSIX behavior of generating
a signal upon receipt of these characters. This is discussed in the
POSIX standard:
https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap11.html
Closes #3800.
|
-
Property mode set to
100644
|
File size:
555 bytes
|
Line | |
---|
1 | *** BEGIN OF TEST TERMIOS 10 -- Polled *** |
---|
2 | Exercise default ISIG handler with ISIG enabled |
---|
3 | Test read for VKILL - no signals |
---|
4 | Test read for VQUIT - no signals |
---|
5 | Exercise POSIX ISIG handler with ISIG enabled |
---|
6 | Test read for VKILL - signal caught |
---|
7 | Test read for VQUIT - signal caught |
---|
8 | Exercise default ISIG handler with ISIG enabled |
---|
9 | Test read for VKILL - signal caught |
---|
10 | Test read for VQUIT - signal caught |
---|
11 | Exercise POSIX ISIG handler with ISIG disabled |
---|
12 | Test read for VKILL - signal caught |
---|
13 | Test read for VQUIT - signal caught |
---|
14 | *** END OF TEST TERMIOS 10 -- Polled *** |
---|
Note: See
TracBrowser
for help on using the repository browser.