Cygwin: access: Fix X_OK behaviour for backup operators and admins
[newlib-cygwin.git] / newlib / libc / sys / sysvi386 / speed.c
blob1b22c026f0117e77af6585f9bfbcbff85e1c7aff
1 #define _NO_MACROS
2 #include <sys/termios.h>
4 speed_t
5 cfgetospeed(const struct termios *tp) {
6 return tp->c_ospeed;
9 int
10 cfsetospeed(struct termios *tp, speed_t speed) {
11 tp->c_ospeed = speed;
12 return 0;
15 speed_t
16 cfgetispeed(const struct termios *tp) {
17 return tp->c_ispeed;
20 int
21 cfsetispeed(struct termios *tp, speed_t speed) {
22 tp->c_ispeed = speed;
23 return 0;