tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: snprintf(3) and friends async-signal safety?

In article <>,
Luke Mewburn  <> wrote:
>On Thu, Dec 23, 2010 at 01:11:33AM +0100, Jean-Yves Migeon wrote:
>  | Why mark SIGINFO without SA_RESTART? Reads may fail with EINTR.
>Generally it's easier to write portable code that doesn't depend
>upon SA_RESTART behaviour, and just deal with EINTR in the
>read and write loops.

Keep in mind is not just read and write, but poll, select, ioctl, ... etc.


Home | Main Index | Thread Index | Old Index