invoke arch specific distfiles targets
[AROS.git] / compiler / clib / cfgetospeed.c
blob550c72aa8c853cd6bddd9f05bea35d881bcdadf5
1 #include "__arosc_termios.h"
3 /* FIXME: Add autodocs */
4 speed_t cfgetospeed(const struct termios *__termios_p)
6 if (__termios_p)
8 struct termios_intern * t = (struct termios_intern *)__termios_p;
9 return t->c_ospeed;
12 /* According to man pages and online standard documents providing an
13 * invalid pointer does not result in an error. Tests on Linux resulted
14 * in segmentation faults, we can not do this so we retun a speed of 0.
16 return B0;