Handle the IBCS2 FIONREAD ioctl. I have only tested that this

compiles, but the patch looks reasonable.

PR:		i386/5784
Submitted by:	Remy NONNENMACHER <remy@synx.com>
This commit is contained in:
Ian Dowse 2001-11-16 20:32:32 +00:00
parent df3def7f43
commit c55c345375

View File

@ -632,6 +632,7 @@ ibcs2_ioctl(td, uap)
case IBCS2_SIOCSOCKSYS:
return ibcs2_socksys(td, (struct ibcs2_socksys_args *)uap);
case IBCS2_FIONREAD:
case IBCS2_I_NREAD: /* STREAMS */
SCARG(uap, cmd) = FIONREAD;
return ioctl(td, (struct ioctl_args *)uap);