Changeset 77f7498 in rtems


Ignore:
Timestamp:
Dec 10, 2009, 6:05:54 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
a46430d
Parents:
e8d3c193
Message:

2009-12-10 Ralf Corsépius <ralf.corsepius@…>

  • telnetd/pty.c: Reflect changes to rtems_termios_callbacks->write.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    re8d3c193 r77f7498  
     12009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        * telnetd/pty.c:
     4        Reflect changes to rtems_termios_callbacks->write.
     5
    162009-12-10      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/telnetd/pty.c

    re8d3c193 r77f7498  
    324324static int ptyPollInitialize(int major,int minor,void * arg) ;
    325325static int ptyShutdown(int major,int minor,void * arg) ;
    326 static int ptyPollWrite(int minor, const char * buf,int len) ;
     326static ssize_t ptyPollWrite(int minor, const char * buf, size_t len) ;
    327327static int ptyPollRead(int minor) ;
    328328static const rtems_termios_callbacks * pty_get_termios_handlers(int polled) ;
     
    374374/* Write Characters into pty device                          */
    375375/*-----------------------------------------------------------*/
    376 static int
    377 ptyPollWrite(int minor, const char * buf,int len) {
    378   int count;
     376static ssize_t
     377ptyPollWrite(int minor, const char * buf, size_t len) {
     378  size_t count;
    379379  if (minor<rtems_telnetd_maximum_ptys) {
    380380    if (telnet_ptys[minor].socket<0)
Note: See TracChangeset for help on using the changeset viewer.