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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [sysvi386/] [speed.c] - Rev 438

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

#define _NO_MACROS
#include <sys/termios.h>
 
speed_t
cfgetospeed(const struct termios *tp) {
	return tp->c_ospeed;
}
 
int
cfsetospeed(struct termios *tp, speed_t speed) {
	tp->c_ospeed = speed;
	return 0;
}
 
speed_t
cfgetispeed(const struct termios *tp) {
	return tp->c_ispeed;
}
 
int
cfsetispeed(struct termios *tp, speed_t speed) {
	tp->c_ispeed = speed;
	return 0;
}
 

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

powered by: WebSVN 2.1.0

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