Changeset edbb81d0 in rtems


Ignore:
Timestamp:
Apr 27, 1998, 2:39:51 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
baa876a4
Parents:
0e70f60
Message:

Removed redundant implementation of tcgetattr and tcsetattr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libc/newlibif.c

    r0e70f60 redbb81d0  
    9191}
    9292
    93 /*
    94  * tcgetattr/tcsetattr -- get/set attributes of a device.
    95  *
    96  * by K.Shibuya
    97  */
    98 
    99 int
    100 tcgetattr(int fd, struct termios *tp)
    101 {
    102     return __rtems_ioctl(fd,RTEMS_IO_GET_ATTRIBUTES,tp);
    103 }
    104 
    105 int
    106 tcsetattr(int fd, int opt, struct termios *tp)
    107 {
    108     if(opt != TCSANOW)
    109       return -1;
    110     return __rtems_ioctl(fd,RTEMS_IO_SET_ATTRIBUTES,tp);
    111 }
    112 
    11393#endif
Note: See TracChangeset for help on using the changeset viewer.