www.delorie.com/archives/browse.cgi | search |
Date: | Wed, 26 Jun 1996 20:52:44 -0400 |
From: | dj (DJ Delorie) |
Message-Id: | <199606270052.UAA18368@delorie.com> |
To: | lav AT video DOT yars DOT free DOT net |
CC: | Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De, eliz AT is DOT elta DOT co DOT il, djgpp AT delorie DOT com |
In-reply-to: | <199606261344.RAA00460@video.yars.free.net> (lav@video.yars.free.net) |
Subject: | Re: FSE, some questions |
> As about ioctl, I think it would be reasonable to distinguish > between unix-like ioctl and dos one. What about _dos_ioctl? I think a better way is to code unix ioctl commands with bit patterns that are obviously not dos's commands, and detect the difference inside ioctl() itself. Since dos is 16-bit and djgpp is 32-bit, setting any of the high 16 bits should do the trick.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |