www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/26/10:01:16

Date: Wed, 26 Jun 1996 17:44:16 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199606261344.RAA00460@video.yars.free.net>
To: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De, eliz AT is DOT elta DOT co DOT il
Cc: djgpp AT delorie DOT com
Subject: Re: FSE, some questions

> > 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019