Xenix dial() function in C program

John Tompkins jct at psm.UUCP
Thu Feb 9 03:44:38 AEST 1989


Help! I'm trying to get the dial() library function (under system
services in the Xenix manual) to work. No matter what I do, I can't
figure it out. If I dont give a specific device I get error NO_BD_A,
if I give a specific device I get error DV_NT_A. In both cases its
a dialout line at 1200 baud that works fine with cu and uucp ...
The L-devices file has a vaild entry, as I say it works with uucp.
I have the following CALL structure :

	attr = termio parameters filled in
	baud = 1200
	speed = 1200
	line = NULL or /dev/tty1A (depending on specific line or not)
	teleno = telephone number string
	modem = 0
	device = address of buffer for device dial() fills in
	dev_len = sizeof the above buffer

I don't have any extra /usr/spool/LCK* files and the /dev/tty* files
all have correct permissions.

Has anyone used dial(), do you have any examples ? Thanks.



More information about the Comp.unix.xenix mailing list