Re: Add pselect, ppoll system calls.

From: David Woodhouse
Date: Mon Jun 13 2005 - 06:26:17 EST


On Mon, 2005-06-13 at 07:14 -0400, Jakub Jelinek wrote:
> And if ppoll is added, the question is also what it's prototype should look like
> (i.e. have the suboptimal int timeout argument as poll(2), where you can
> only wait for less than a month or infinitely, or use const struct timespec *
> like pselect, or struct timeval * like select).

Eep -- I hadn't noticed that difference. Will update patch accordingly.

The other documented difference (other than the signal mask bit) is that
pselect() is documented not to modify the timeout parameter. I'm not
sure whether I should preserve that difference, or not.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/