On 26 July 2011 21:30, Gavin Atkinson <gavin at freebsd.org> wrote: [snip code] > And for these, you return negative error values. Is this inconsistency > intentional? Nope; this somehow was incorrectly picked up from the reference code. I wonder if it's due to Linuxisms there.. Thanks, Adrian