[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: snprintf(3) and friends async-signal safety?
In article <20101223001846.GC18364%mewburn.net@localhost>,
Luke Mewburn <lukem%NetBSD.org@localhost> 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.
Main Index |
Thread Index |