1 #include <termios.h> 2 3 speed_t 4 cfgetospeed(const struct termios *p) 5 { 6 return B0; 7 } 8 9 int 10 cfsetospeed(struct termios *p, speed_t s) 11 { 12 return 0; 13 } 14 15 speed_t 16 cfgetispeed(const struct termios *p) 17 { 18 return B0; 19 } 20 21 int 22 cfsetispeed(struct termios *p, speed_t s) 23 { 24 return 0; 25 } 26 27