[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: fd number to io object?
- From: Sam Roberts <vieuxtech@...>
- Date: Sat, 17 Oct 2009 13:38:46 -0700
On Fri, Oct 16, 2009 at 8:39 PM, duck <firstname.lastname@example.org> wrote:
> Forgive my ignorance (can't find an answer by searching), but can I map a
> specific file descriptor onto an io object?
No, not without writing a C extension, which is easy, you'd write a
variant of io_open() from:
that calls fdopen() instead of fopen()