delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/04/08:48:14

From: DJ Delorie <dj AT delorie DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: FSEXT handles
Date: 04 Feb 1998 08:30:39 -0500
Organization: DJ Delorie/DJGPP Support
Lines: 11
Message-ID: <xnwwfba45c.fsf@delorie.com>
References: <199802031049 DOT LAA15718 AT login-2 DOT eunet DOT no>
NNTP-Posting-Host: delorie.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

"Gisle Vanem" <giva AT bgnett DOT no> writes:
> 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().

No, but it should use __FSEXT_alloc_fd() to allocate a file descriptor
from DOS, so that DOS won't reuse the same number.

http://www.delorie.com/djgpp/doc/libc-2.01/libc_299.html
C:\> info libc a __FSEXT_alloc_fd

- Raw text -


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