Changeset edbb81d0 in rtems
- Timestamp:
- 04/27/98 14:39:51 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- baa876a4
- Parents:
- 0e70f60
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libc/newlibif.c
r0e70f60 redbb81d0 91 91 } 92 92 93 /*94 * tcgetattr/tcsetattr -- get/set attributes of a device.95 *96 * by K.Shibuya97 */98 99 int100 tcgetattr(int fd, struct termios *tp)101 {102 return __rtems_ioctl(fd,RTEMS_IO_GET_ATTRIBUTES,tp);103 }104 105 int106 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 113 93 #endif
Note: See TracChangeset
for help on using the changeset viewer.