Message-ID: <387DFC16.C3AEDAC8@softhome.net> Date: Thu, 13 Jan 2000 18:23:51 +0200 From: Laurynas Biveinis X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: Eli Zaretskii , djgpp-workers AT delorie DOT com Subject: Re: fchmod() / fchown() ? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Eli Zaretskii wrote: > On Wed, 12 Jan 2000, Laurynas Biveinis wrote: > > If it is not, I can provide at least fchown(), which does > > nothing under DOS. > > You should at least check for the obvious errors (invalid file handle, Is there any library function for this? I've only found static function is_used_fd() in fcntl.c. It uses int 0x21, function 0x44 (ioctl - get device information). If this is the way to go, I make that function global. > for example). It's probably a good idea to include an FSEXT hook. Hmm, I've never dealt with FSEXT before. Will try. Laurynas Biveinis