diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-11-16 20:32:32 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-11-16 20:32:32 +0000 |
commit | f66bcabf900b94af01e1318795df4cb9d33f4bbb (patch) | |
tree | 48d659e56301291aa9584a185616fe36bad6dba5 /sys/i386 | |
parent | 6bdc4d9fcd7fe889a4263c421a46999c8f760592 (diff) | |
download | FreeBSD-src-f66bcabf900b94af01e1318795df4cb9d33f4bbb.zip FreeBSD-src-f66bcabf900b94af01e1318795df4cb9d33f4bbb.tar.gz |
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>
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_ioctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/ibcs2/ibcs2_ioctl.c b/sys/i386/ibcs2/ibcs2_ioctl.c index 39fdc99..de63ad8 100644 --- a/sys/i386/ibcs2/ibcs2_ioctl.c +++ b/sys/i386/ibcs2/ibcs2_ioctl.c @@ -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); |