[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [RFC] fixing dup() in luaposix
- From: "Mark Edgar" <medgar123+lua-l@...>
- Date: Mon, 28 Jan 2008 12:57:55 -0700
On Jan 28, 2008 11:56 AM, Natanael Copa <natanael.copa@gmail.com> wrote:
> Hi,
>
> I'm looking into fixing dup() in luaposix.
>
> The problem in the current implementation from lposix is that it only
> deals with fd's, integers, not lua files. This means you can not really
> use the value returned from dup(2)
I haven't looked at luaposix (or lposix in a while) but it should have
fileno() and fdopen() functions also.
-Mark