OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sysvi386/] [speed.c] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
#define _NO_MACROS
2
#include <sys/termios.h>
3
 
4
speed_t
5
cfgetospeed(const struct termios *tp) {
6
        return tp->c_ospeed;
7
}
8
 
9
int
10
cfsetospeed(struct termios *tp, speed_t speed) {
11
        tp->c_ospeed = speed;
12
        return 0;
13
}
14
 
15
speed_t
16
cfgetispeed(const struct termios *tp) {
17
        return tp->c_ispeed;
18
}
19
 
20
int
21
cfsetispeed(struct termios *tp, speed_t speed) {
22
        tp->c_ispeed = speed;
23
        return 0;
24
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.