Date: Tue, 3 Feb 1998 11:49:03 +0100 (CET) Message-Id: <199802031049.LAA15718@login-2.eunet.no> From: "Gisle Vanem" To: djgpp AT delorie DOT com Subject: FSEXT handles MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Precedence: bulk I'm having trouble understanding how djgpp handles FSEXT'ensions when duplicate handles exists. Lets say I create an handle X with socket() and install an extension using __FSEXT_set_function (handle, func_parser). Note, socket() don't use __FSEXT_add_open_handler(). At the same time I have an open DOS file with handle Y=X. How does e.g. _read() differentiate between them ? AFAIK see it can't. One solution might be to have 100 <= X <= 255. That way the handle can also work with FD_SET and select(). Anyone know a better solution ? Gisle V. Gisle V.