jay@gdx.UUCP (Jay A. Snyder) (12/11/90)
how do I hangup the line from a unix-c program?
ewoods@hemel.bull.co.uk (Eoin Woods) (12/11/90)
jay@gdx.UUCP (Jay A. Snyder) writes: >how do I hangup the line from a unix-c program? Use the ioctl(2) system call on the terminal to hang up the line by setting the baud rate to 0 - On Berkley systems use fcntl(2) to perform a similar function. See : ioctl (2) < SysV termio (7) < or : fcntl (2) < BSD Xenix, Minix, Coherent ... I'm not too sure! Eoin. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Eoin Woods, Software Development Group, Bull HN Information Systems, ~ ~ Maxted Road, Hemel Hempstead, Herts HP2 7DZ ~ ~ Tel : +44 442 232222 x4823 ~ ~ Fax : +44 442 234084 ~ ~ < Eoin.Woods@hemel.bull.co.uk > ~ ~ < When do we start news group comp.os.emacs ? :-) > ~