Searched refs:termios_p (Results 1 - 7 of 7) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dcfsetispeed.c43 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 Dcfsetospeed.c43 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 Dcfgetispeed.c39 * 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 Dcfgetospeed.c39 * 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 Dtcgetattr.c44 tcgetattr(int fildes, struct termios *termios_p) argument
46 return (ioctl(fildes, TCGETS, termios_p));
H A Dtcsetattr.c45 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);
/osnet-11/usr/src/lib/libc/port/
H A Dllib-lc325 speed_t cfgetispeed(const struct termios *termios_p);
328 speed_t cfgetospeed(const struct termios *termios_p);
334 int cfsetispeed(struct termios *termios_p, speed_t speed);
337 int cfsetospeed(struct termios *termios_p, speed_t speed);
1028 int tcgetattr(int fildes, struct termios *termios_p);
1041 const struct termios *termios_p);

Completed in 26 milliseconds