more on the HFC saga

Bruce Lilly bruce at balilly
Sat May 18 08:31:19 AEST 1991


In article <1991May13.010730.4743 at fithp> mhw at fithp (Marc Weinstein) writes:
>
>First and foremost, the /etc/hfc_ctl program appears to ENABLE HFC, not turn
>it on.  It seems that this program (somehow) configures the driver so that

It uses an ioctl, which is listed in recent /usr/include/sys/termio.h's as:
#define TCHFCCTL	(TIOC|15)
It is not in old termio.h's.

ioctl(fd, TCHFCCTL, 1) is equivalent to /etc/hfc_ctl +/dev/ttyNNN
ioctl(fd, TCHFCCTL, 0) is equivalent to /etc/hfc_ctl -/dev/ttyNNN

-- 
	Bruce Lilly		blilly!balilly!bruce at sonyd1.Broadcast.Sony.COM



More information about the Comp.sys.3b1 mailing list