The function ioctl bug
Marco Atzeri
marco.atzeri@gmail.com
Fri Jul 1 05:38:00 GMT 2016
On 01/07/2016 07:21, Ðабенко ÐÑÑеÑлав wrote:
> Dear friends!
>
> The function ioctl return -1 (errno equal 95) if I use cygwin-x86_64. See my code:
> ...
> int fd = socket(AF_INET, SOCK_STREAM, 0);
> if (ioctl(fd, FIONREAD, &c) == -1)
> printf("%u", errno);
> ...
> The function ioctl return 0 if I use cygwin-x86.
>
>
the test case must be a complete minimal program that anyone could build.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list