2014-04-22 8:36 GMT+02:00 Saúl Ibarra Corretgé <[email protected]>:
> On 04/21/2014 04:14 PM, Iñaki Baz Castillo wrote:
>> Anyhow, must I call close(fd) when I call to uv_close(pipe) if the
>> pipe was initiated with uv_pipe_open() ? If so, when should I call
>> to close() ?
>>
>> Thanks a lot.
>>
>
> You don't need to call close() yourself, libuv will do it when you
> uv_close the handle.

True, I checked it yesterday.
My confusion comes from the use of a externally generated socket
(given to uv via uv_pipe_open).

Clear now. Thanks.



-- 
Iñaki Baz Castillo
<[email protected]>

-- 
You received this message because you are subscribed to the Google Groups 
"libuv" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/libuv.
For more options, visit https://groups.google.com/d/optout.

Reply via email to