delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/07/16:33:53

From: Ian AT kiwiplan DOT co DOT nz (Ian Collins)
Subject: b19: ioctl (TCGETA) fail: invalid argument
7 Mar 1998 16:33:53 -0800 :
Message-ID: <C1A9DAABC292D111A4D90000F879A2BA0E85.cygnus.gnu-win32@NTMAIL>
Mime-Version: 1.0
To: "'Gnu Mailing list'" <gnu-win32 AT cygnus DOT com>

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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019