diff options
author | Chris Johns <chrisj@rtems.org> | 2003-07-02 14:20:36 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2003-07-02 14:20:36 +0000 |
commit | 1f5d2baf0607dcf6c6f6fd4d8e887cbc94361b61 (patch) | |
tree | 406d4e90209e8cbf2e21a7bf44ab62bc552a0fdd /cpukit/libcsupport/include/rtems/libio.h | |
parent | Patch from Victor V. Vengerov <vvv@oktet.ru> to remove Linux code. (diff) | |
download | rtems-1f5d2baf0607dcf6c6f6fd4d8e887cbc94361b61.tar.bz2 |
Patch by Chris Johns <cjohns@cybertec.com.au> adding the rtems_termios_bufsize call.
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libio.h')
-rw-r--r-- | cpukit/libcsupport/include/rtems/libio.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/libcsupport/include/rtems/libio.h b/cpukit/libcsupport/include/rtems/libio.h index de41d6388f..b182444415 100644 --- a/cpukit/libcsupport/include/rtems/libio.h +++ b/cpukit/libcsupport/include/rtems/libio.h @@ -554,6 +554,17 @@ typedef struct rtems_termios_callbacks { void rtems_termios_initialize (void); +/* + * CCJ: Change before opening a tty. Newer code from Eric is coming + * so extra work to handle an open tty is not worth it. If the tty + * is open, close then open it again. + */ +rtems_status_code rtems_termios_bufsize ( + int cbufsize, /* cooked buffer size */ + int raw_input, /* raw input buffer size */ + int raw_output /* raw output buffer size */ +); + rtems_status_code rtems_termios_open ( rtems_device_major_number major, rtems_device_minor_number minor, |