delorie.com/archives/browse.cgi | search |
Date: | Thu, 13 Jan 2000 09:38:04 +0200 (IST) |
From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
X-Sender: | eliz AT is |
To: | Laurynas Biveinis <lauras AT softhome DOT net> |
cc: | djgpp-workers AT delorie DOT com |
Subject: | Re: fchmod() / fchown() ? |
In-Reply-To: | <387CD2AF.29AB928D@softhome.net> |
Message-ID: | <Pine.SUN.3.91.1000113093738.9693O-100000@is> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | dj-admin AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On Wed, 12 Jan 2000, Laurynas Biveinis wrote: > is it possible to change attributtes of open file under DOS? There's no system call to do that (AFAIK), and since there's no way to get the full path given the handle, I think you can't do that. > 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, for example). It's probably a good idea to include an FSEXT hook.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |