Thanks guys for clarifying that further.

The thing that I'm building with APR is an Apache 2 module plus apps that run in
conjunction with that module, so in theory it might even be used by someone
under Windows. I personally don't care about Windows - as long as it works on
Linux and Unix, I'm done ;-)

Quoting Cliff Woolley <[EMAIL PROTECTED]>:

> On Thu, 14 Aug 2003 [EMAIL PROTECTED] 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.
> 
> Sorry,
> --Cliff
> 
> 


-- 
Bojan

Reply via email to