Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!ukma!rutgers!att!occrsh!psm!jct From: jct@psm.UUCP (John Tompkins) Newsgroups: comp.unix.xenix Subject: Xenix dial() function in C program Keywords: Xenix C programming Message-ID: <270@psm.UUCP> Date: 8 Feb 89 17:44:38 GMT Organization: Kerr-McGee, Okla. City Lines: 21 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.