Ignore:
Timestamp:
Apr 12, 2010, 4:34:31 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
4d0771e
Parents:
5da993c0
Message:

Reflect termios API changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/console/console.c

    r5da993c0 r2daa19f  
    117117extern int  rtems_kbpoll( void );
    118118
    119 static int
    120 ibmpc_console_write(int minor, const char *buf, int len)
    121 {
    122   int count;
     119static ssize_t
     120ibmpc_console_write(int minor, const char *buf, size_t len)
     121{
     122  size_t count;
    123123  for (count = 0; count < len; count++)
    124124  {
     
    127127      _IBMPC_outch( '\r' );            /* LF = LF + CR */
    128128  }
    129   return 0;
     129  return count;
    130130}
    131131
Note: See TracChangeset for help on using the changeset viewer.