sigoff
sigoff();
sigoff(); /* turn off signals while we check caught */
nmdm_modem(struct tty *tp, int sigon, int sigoff)
if (sigon || sigoff) {
if (sigoff & SER_DTR)
if ((sigon == 0) && (sigoff == 0)) {
if (sigoff & SER_DTR) {
if (sigoff & SER_RTS) {
ucom_modem(struct tty *tp, int sigon, int sigoff)
int sigoff __unused)
ttydevsw_modem(struct tty *tp, int sigon, int sigoff)
return (tp->t_devsw->tsw_modem(tp, sigon, sigoff));
typedef int tsw_modem_t(struct tty *tp, int sigon, int sigoff);
size_t compsz, datasz, sigoff;
sigoff = 0;
if (sigoff + datasz > rawlen)
memset(&rawsig[sigoff], 0, compsz - datasz);
sigoff += compsz - datasz;
memcpy(&rawsig[sigoff], sigdata, datasz);
sigoff += datasz;
rc = (sigoff == rawlen) ? 0 : 1;