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?

On Wed, 22 Dec 2010 17:12:22 +0100, Joerg Sonnenberger <> wrote:
On Wed, Dec 22, 2010 at 06:07:50PM +0200, Jean-Yves Migeon wrote:
Question is: is it really safe to use it in a signal handler inside

No. It can use mutexes for printing floating point, just to name one
important issue.

I am more concerned with the rest.

FP handling is a corner case :) I don't expect to see many signal handlers with FP code.

Jean-Yves Migeon

Home | Main Index | Thread Index | Old Index