delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/01/13/11:47:47

Message-ID: <387DFC16.C3AEDAC8@softhome.net>
Date: Thu, 13 Jan 2000 18:23:51 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com
Subject: Re: fchmod() / fchown() ?
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1000113093738 DOT 9693O-100000 AT is>
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

- Raw text -


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