TIOCSTI or workaround?

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Jun 26 08:51:00 GMT 2017


On Jun 25 20:58, Greywolf wrote:
> Greetings,
> 
> I have a program I've writ which takes input and types on to other
> terminals; however, it seems that under Cygwin, TIOCSTI on a file descriptor
> doesn't work according to plan -- I get "Invalid argument", but I don't know
> why.

That's because TIOCSTI isn't supported.  You always get EINVAL when
using unknown ioctl codes.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20170626/68e3c66b/attachment.sig>


More information about the Cygwin mailing list