Searched refs:modem_state (Results 1 – 1 of 1) sorted by relevance
545 int modem_state; in modem_support() local547 if (ioctl(fd, TIOCMGET, &modem_state) == 0) in modem_support()556 int modem_state; in has_carrier() local558 if (ioctl(fd, TIOCMGET, &modem_state) == 0) in has_carrier()559 return ((modem_state & TIOCM_CAR) != 0); in has_carrier()