*BSD News Article 60116


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.syd.connect.com.au!gidora.kralizec.net.au!not-for-mail
From: bde@zeta.org.au (Bruce Evans)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: ioctl() with TIOCMODG : implemented ?
Date: 20 Jan 1996 23:33:19 +1100
Organization: Kralizec Dialup Unix
Lines: 13
Message-ID: <4dqnef$mu0@godzilla.zeta.org.au>
References: <4domed$1na@oege.htsa.hva.nl>
NNTP-Posting-Host: godzilla.zeta.org.au

In article <4domed$1na@oege.htsa.hva.nl>,
Ferdinand de Boevere <ferdinan@htsa.htsa.hva.nl> wrote:
>
>After opening the /dev/cuaa2 device (modem) and performing a 
>ioctl(desc, TIOCMODG, &status) to ask for the status
>it returns with the message that this ioctl is inappropriate
>for the /dev/cuaa2 device.

TIOCMODG is old.  Use TIOCMGET instead.

Bruce
-- 
Bruce Evans  bde@zeta.org.au