Changeset 96bb0f40 in rtems


Ignore:
Timestamp:
Apr 14, 2010, 9:00:46 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
eb18d28
Parents:
b93ca7c
Message:

2010-04-14 Ralf Corsépius <ralf.corsepius@…>

  • shared/umon/umoncons.c: Reflect changes to rtems_termios_callbacks->write.
Location:
c/src/lib/libbsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/ChangeLog

    rb93ca7c r96bb0f40  
     12010-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * shared/umon/umoncons.c:
     4        Reflect changes to rtems_termios_callbacks->write.
     5
    162009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • c/src/lib/libbsp/shared/umon/umoncons.c

    rb93ca7c r96bb0f40  
    2323static int     umoncons_last_close(int major, int minor, void *arg);
    2424static int     umoncons_read(int minor);
    25 static int     umoncons_write(int minor, const char *buf, int len);
     25static ssize_t umoncons_write(int minor, const char *buf, size_t len);
    2626static void    umoncons_init(int minor);
    2727static void    umoncons_write_polled(int minor, char c);
     
    8787 * return 1 on success, -1 on error
    8888*/
    89 static int umoncons_write(int minor, const char *buf, int len)
     89static ssize_t umoncons_write(int minor, const char *buf, size_t len)
    9090{
    91   int i;
     91  size_t i;
    9292
    9393  for ( i=0 ; i<len ; i++ )
    9494    mon_putchar( buf[i] );
    9595
    96   return 1;
     96  return len;
    9797}
    9898
Note: See TracChangeset for help on using the changeset viewer.