From 1f5d2baf0607dcf6c6f6fd4d8e887cbc94361b61 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 2 Jul 2003 14:20:36 +0000 Subject: Patch by Chris Johns adding the rtems_termios_bufsize call. --- cpukit/libcsupport/include/rtems/libio.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cpukit/libcsupport/include/rtems/libio.h') 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, -- cgit v1.2.3