On Mon, 26 Dec 2011 05:19:22 +0000
Taylor R Campbell <campbell+net...@mumble.net> wrote:

> +
> +     error = fd_close(SCARG(uap, fd));
> +     if (error == ERESTART)
> +             error = EINTR;
> +
> +     return error;

If it's also guaranteed that the file descriptor state is closed in the
event of an ERESTART error, I like this, personally.
-- 
Matt

Reply via email to