Searched defs:termios_p (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/lib/libc/port/gen/ |
H A D | cfgetispeed.c | 39 * returns input baud rate stored in c_cflag pointed by termios_p 43 cfgetispeed(const struct termios *termios_p) argument 45 return (termios_p->c_cflag & CIBAUDEXT ? 46 ((termios_p->c_cflag & CIBAUD) >> 16) + (CIBAUD >> 16) + 1 : 47 (termios_p->c_cflag & CIBAUD) >> 16);
|
H A D | cfgetospeed.c | 39 * returns output baud rate stored in c_cflag pointed by termios_p 43 cfgetospeed(const struct termios *termios_p) argument 45 return (termios_p->c_cflag & CBAUDEXT ? 46 (termios_p->c_cflag & CBAUD) + CBAUD + 1 : 47 termios_p->c_cflag & CBAUD);
|
H A D | cfsetispeed.c | 43 cfsetispeed(struct termios *termios_p, speed_t speed) argument 49 speed = termios_p->c_cflag & CBAUD; 50 if (termios_p->c_cflag & CBAUDEXT) 55 termios_p->c_cflag |= CIBAUDEXT; 58 termios_p->c_cflag &= ~CIBAUDEXT; 59 termios_p->c_cflag = 60 (termios_p->c_cflag & ~CIBAUD) | ((speed << 16) & CIBAUD);
|
H A D | cfsetospeed.c | 43 cfsetospeed(struct termios *termios_p, speed_t speed) argument 46 termios_p->c_cflag |= CBAUDEXT; 49 termios_p->c_cflag &= ~CBAUDEXT; 51 termios_p->c_cflag = 52 (termios_p->c_cflag & ~CBAUD) | (speed & CBAUD);
|
H A D | tcgetattr.c | 44 tcgetattr(int fildes, struct termios *termios_p) argument 46 return (ioctl(fildes, TCGETS, termios_p));
|
H A D | tcsetattr.c | 45 tcsetattr(int fildes, int optional_actions, const struct termios *termios_p) argument 54 rval = ioctl(fildes, TCSETS, termios_p); 59 rval = ioctl(fildes, TCSETSW, termios_p); 64 rval = ioctl(fildes, TCSETSF, termios_p);
|
Completed in 20 milliseconds