Subject: b19: ioctl (TCGETA) fail: invalid argument
From: [email-masked] (Ian Collins)

7 Mar 1998 16:33:53 -0800
Message-ID: <C1A9DAABC292D111A4D90000F879A2BA0E85.cygnus.gnu-win32@NTMAIL>
Mime-Version: 1.0
Content-Type: text/plain
To: "'Gnu Mailing list'" <[email-masked]>

I seem to remember that I had the same problem originally on b18. Any
ideas anyone?

#include <termio.h>
struct termio tbuf;
main()
{
if (ioctl(0, TCGETA, &tbuf) == -1){
   perror("ioctl (TCGETA) fail");               /* THIS IS TRIGGORED */
   exit(1);
}
printf("ioctl ok\n");
exit(0);

Ian Collins. 
System Manager.
KIWIPLAN NZ.

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".