From: DJ Delorie 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: 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 Precedence: bulk "Gisle Vanem" 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