Mail Archives: djgpp/1996/06/26/10:01:16
> > For the second problem, Alexander Lukyanov proposed to add ioctl()
> > to libc. Well, let's see.
>
> I'm not sure this is such a good idea. Under MS-DOS, `ioctl' means a
> totally different thing, so it might be a source of subtle bugs (if
> somebody tries to compile a program that comes from BC, say, and uses
> `ioctl'). I remember some discussion about this about a year ago. Maybe
> its worthwhile to ask DJ.
Firstly I proposed to add posix terminal control functions like tcgetattr.
These would not break anything.
As about ioctl, I think it would be reasonable to distinguish between unix-like
ioctl and dos one. What about _dos_ioctl?
- Raw text -