delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/07/03/15:22:28

Date: Wed, 3 Jul 1996 23:02:56 +0400 (MSD)
From: "Alexander V. Lukyanov" <lav AT video DOT yars DOT free DOT net>
Message-Id: <199607031902.XAA11013@video.yars.free.net>
To: Demmer AT LStM DOT Ruhr-Uni-Bochum DOT De, djgpp-workers AT delorie DOT com
Subject: Re: ioctl

> I have got the DOS ioctl running up to function 0x440b and hooks for 
> the UNIX stuff. My PC has just a HD and a networkcard, so most of the 
> stuff is not tested thoroughly. Just some of the EMM stuff. 
> Now I need a friendly UNIX guru for hints what to do in 
> _unix_ioctl(), and how it is usually called.

imho, it should just call according FSEXT hook. Unix ioctl is meaningless
for plain files, and for dos devices the stuff
should be emulated (do anyone need it?).

So until some fsext has unixy ioctl, the _unix_ioctl may stay empty
and return some error code (ENOTTY?).

- Raw text -


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