Re: Lack of Documentation about SA_RESTART...

Paolo Ornati
2005-07-12T08:47:25Z

On 11 Jul 2005 20:30:20 -0700
Philippe Troin <phil@fifi.org> wrote:

> Except for select() and poll(), which should always return EINTR even
> when interrupted with a SA_RESTART signal.

SUSV3 says this for select():
"If SA_RESTART has been set for the interrupting signal, it is
implementation-defined whether the function restarts or returns with
[EINTR]"

and says nothing for poll()...

But it says nothing also for "pause()", for example... and I doubt that
it's supposed to be automatically restarted :)

--
Paolo Ornati
Linux 2.6.12.2 on x86_64