On Sat, Apr 30, 2016 at 4:35 AM, Kaare Rasmussen <ka...@jasonic.dk> wrote:

> my $nfds = dup(0);
>

Note that "nfds" is the highest fd number to check for, plus one. For the
naïve implementation, you need to add one here.

my $readfds = CArray[uint8].new(0, 2);
>

What is this initialized to? The bit vectors are both in and out parameters.

-- 
brandon s allbery kf8nh                               sine nomine associates
allber...@gmail.com                                  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net

Reply via email to