Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 03:57:46PM -0400, Christopher Faylor wrote: >On Thu, Jul 21, 2011 at 07:47:17PM +0200, Corinna Vinschen wrote: >>On Jul 21 13:05, Christopher Faylor wrote: >>> On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >>> >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >>

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 07:47:17PM +0200, Corinna Vinschen wrote: >On Jul 21 13:05, Christopher Faylor wrote: >> On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >> >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >> >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: >> >> > O

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Corinna Vinschen
On Jul 21 13:05, Christopher Faylor wrote: > On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: > >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: > >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: > >> > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > >> > > On Linux, ioctl(2) re

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Christopher Faylor
On Thu, Jul 21, 2011 at 04:39:31PM +0200, Corinna Vinschen wrote: >On Jul 20 17:37, Yaakov (Cygwin/X) wrote: >> On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: >> > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: >> > > On Linux, ioctl(2) returns several different errors[1]: >> > > >> > > EBA

Re: ioctl: FIONREAD and ENOTTY

2011-07-21 Thread Corinna Vinschen
On Jul 20 17:37, Yaakov (Cygwin/X) wrote: > On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: > > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > > > On Linux, ioctl(2) returns several different errors[1]: > > > > > > EBADF d is not a valid descriptor. > > > EFAULT argp references an inacces

Re: ioctl: FIONREAD and ENOTTY

2011-07-20 Thread Yaakov (Cygwin/X)
On Wed, 2011-07-20 at 17:46 +0200, Corinna Vinschen wrote: > On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > > On Linux, ioctl(2) returns several different errors[1]: > > > > EBADF d is not a valid descriptor. > > EFAULT argp references an inaccessible memory area. > > EINVAL Request or argp is not v

Re: ioctl: FIONREAD and ENOTTY

2011-07-20 Thread Corinna Vinschen
On Jul 20 03:11, Yaakov (Cygwin/X) wrote: > On Linux, ioctl(2) returns several different errors[1]: > > EBADF d is not a valid descriptor. > EFAULT argp references an inaccessible memory area. > EINVAL Request or argp is not valid. > ENOTTY d is not associated with a character special device. > E

ioctl: FIONREAD and ENOTTY

2011-07-20 Thread Yaakov (Cygwin/X)
On Linux, ioctl(2) returns several different errors[1]: EBADF d is not a valid descriptor. EFAULT argp references an inaccessible memory area. EINVAL Request or argp is not valid. ENOTTY d is not associated with a character special device. ENOTTY The specified request does not apply to the kind o