termios.h: Put some non-standard fields in a private struct.
[AROS.git] / compiler / clib / cfsetospeed.c
blobce05db324a5926902abb30b945f9dbe0518c2098
1 #include <errno.h>
3 #include "__arosc_termios.h"
5 /* FIXME: Add autodoc */
6 int cfsetospeed(struct termios *__termios_p, speed_t speed)
8 if (__termios_p)
10 struct termios_intern * t = (struct termios_intern *)__termios_p;
11 t->c_ospeed = speed;
12 return 0;
14 else
16 errno = EINVAL;
17 return -1;