summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/termios02/termios02.scn
blob: 9b38d69ba1cbee7e4dd31112c26d79db643a1b6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
*** TERMIOS 02 TEST ***
tcdrain(12) - EBADF
tcdrain(stdin) - OK
tcdrain(stdout) - OK
tcdrain(stderr) - OK

tcflow(stdin, TCOOFF) - ENOTSUP
tcflow(stdin, TCOON) - ENOTSUP
tcflow(stdin, TCIOFF) - ENOTSUP
tcflow(stdin, TCION) - ENOTSUP
tcflow(stdin, 22) - EINVAL

tcflush(stdin, TCIFLUSH) - OK
tcflush(stdin, TCOFLUSH) - OK
tcflush(stdin, TCIOFLUSH) - OK
tcflush(stdin, 22) - EINVAL

tcgetpgrp( 1 ) - OK
tcsetpgrp( 1, 3 ) - OK

tcsendbreak( 1, 0 ) - OK

ctermid( NULL ) - OK
ctermid ==> /dev/console
ctermid( term_name ) - OK
ctermid ==> /dev/console
*** END OF TERMIOS 02 TEST ***