Home
last modified time | relevance | path

Searched refs:modem_state (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/consadm/
H A Dconsadm.c545 int modem_state; in modem_support() local
547 if (ioctl(fd, TIOCMGET, &modem_state) == 0) in modem_support()
556 int modem_state; in has_carrier() local
558 if (ioctl(fd, TIOCMGET, &modem_state) == 0) in has_carrier()
559 return ((modem_state & TIOCM_CAR) != 0); in has_carrier()