source: rtems/testsuites/libtests/termios02/termios02.scn @ b0da5796

4.11
Last change on this file since b0da5796 was b0da5796, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 12, 2012 at 8:25:03 AM

termios: Implement tcflush()

New IO control RTEMS_IO_TCFLUSH.

  • Property mode set to 100644
File size: 579 bytes
Line 
1*** TERMIOS 02 TEST ***
2tcdrain(12) - EBADF
3tcdrain(stdin) - OK
4tcdrain(stdout) - OK
5tcdrain(stderr) - OK
6
7tcflow(stdin, TCOOFF) - ENOTSUP
8tcflow(stdin, TCOON) - ENOTSUP
9tcflow(stdin, TCIOFF) - ENOTSUP
10tcflow(stdin, TCION) - ENOTSUP
11tcflow(stdin, 22) - EINVAL
12
13tcflush(stdin, TCIFLUSH) - OK
14tcflush(stdin, TCOFLUSH) - OK
15tcflush(stdin, TCIOFLUSH) - OK
16tcflush(stdin, 22) - EINVAL
17
18tcgetpgrp( 1 ) - OK
19tcsetpgrp( 1, 3 ) - OK
20
21tcsendbreak( 1, 0 ) - OK
22
23ctermid( NULL ) - OK
24ctermid ==> /dev/console
25ctermid( term_name ) - OK
26ctermid ==> /dev/console
27*** END OF TERMIOS 02 TEST ***
Note: See TracBrowser for help on using the repository browser.