On Sun, Jul 11, 2010 at 07:17:27PM -0400, Alexander Kabaev wrote:
> On Sun, 11 Jul 2010 15:59:05 -0700
> Garrett Cooper <yaneg...@gmail.com> wrote:
> 
> > > +       if (!_SIG_VALID(how))
> > > +               return (-EINVAL);
> 
> -EINVAL? Smells too much of Linux, try returning EINVAL instead.
Mmm,
        if (!_SIG_VALID(how)) {
                errno = EINVAL;
                return (-1);
        }
This is libc.

Attachment: pgpB9z3XudJ0N.pgp
Description: PGP signature



Reply via email to