Re: ioctl() not implemented

2006-05-16 Thread Andrea Pacini
se SetCommState ? Thanks a lot Andrea Samuel Thibault ha scritto: > Andrea Pacini, le Tue 16 May 2006 13:48:12 +0200, a écrit : > >> I am compiling a Linux app under Cygwin and I get the following error: >> >> ioctl: Function not implemented >> >> How c

ioctl() not implemented

2006-05-16 Thread Andrea Pacini
I am compiling a Linux app under Cygwin and I get the following error: ioctl: Function not implemented How can I solve it ? The function is called 2 times: if((err = ioctl(fd, TUNSETIFF, (void *) &ifr)) < 0 ){ close(fd); return err; } [...] if(ioctl(fd, TIOCMBIS, &i) == -1) err(1, "i