Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 50351 invoked by uid 500); 14 Aug 2003 17:39:17 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 50308 invoked from network); 14 Aug 2003 17:39:17 -0000 Sender: cmpilato@localhost.localdomain To: Cliff Woolley Cc: Bojan Smojver , dev@apr.apache.org Subject: Re: fd from apr_file_t References: <1060842920.3f3b2da836534@imp.rexursive.com> From: cmpilato@collab.net Reply-To: cmpilato@collab.net Date: 14 Aug 2003 12:37:15 -0500 In-Reply-To: Message-ID: Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Cliff Woolley writes: > On Thu, 14 Aug 2003 cmpilato@collab.net wrote: > > > > Sure... take a look at apr_os_file_get() which is declared in > > > apr_portable.h > > > > This answer is, I'm surmising, unfortunately incomplete. That is, on > > Unix systems, apr_os_file_get() will do the trick, but the OS file > > descriptor mechanism on Windows platforms is a HANDLE (as you can also > > see in apr_portable.h), so there's a little more work to be done there. > > Oh, well, yes, that's certainly true. He said specifically that he was > passing a file descriptor to the Unix API, so I assumed he meant he was > only running on Unix. Perhaps that was not a valid assumption. As many times as I read his post, I managed to miss the word 'Unix' every time. Shame on me. Apologies.