Getting status of DCE device from a DTE device

Sean Sheridan Coleman X5672 coleman at cam.nist.gov
Wed Apr 24 09:56:38 AEST 1991


Is there a way from inside a C program to find out if
DATA CARRIER DETECT is high on the Data communication devices?

I want my program to see if there is a modem device on the
other end of the cable before it tries to use that port.
I am trying to make sure that the port plugged into the 
back of my Sparc Station is hooked into something.


Thanks

Sean Coleman
NIST
coleman at bldrdoc.gov



More information about the Comp.unix.wizards mailing list