Bug#185373: missing TCFLSH ioctl
At Thu, 3 Apr 2003 03:09:54 +0200,
Robert Millan wrote:
>
> On Tue, Apr 01, 2003 at 07:17:01PM +0900, GOTO Masanori wrote:
> > > >
> > > > I don't know well, but TIOCFLUSH is not appropriate?
> > >
> > > yes it is (i just tried it after sending this report)
> >
> > Could you tell your results?
>
> I can tell that TIOCFLUSH solved the situation since the program i
> was trying to build had support for both ioctl's. but other programs
> might not.. shouldn't we have both?
"might not"?
It seems that Hurd does not conform to sysv style _TCFLSH 0x5407. I
think TIOCFLUSH is BSD's ioctl() interface argument number, and TCFLSH
is linux (sysv)'s ioctl() interface argument number. Try to use
tcflush(). I think it's ok that Hurd does not have any TCFLSH, but
have tcflush(). Your program is needed to fix. I can say this bug
can be closed, ok?
Regards,
-- gotom
Reply to: