John Levon wrote:
> That's correct.  Very (very) few system calls are usable in a signal
> context. This includes anything printf-like.
> 
> You can refer to the UNIX standards for more info, but basically,
> setting a sigatomic_t variable to TRUE or equivalent is the way to
> go.

I've been reading (and enjoying ;-) "Advanced Linux Programming" by 
CodeSourcery's Mark Mitchell, Jeffrey Oldham and Alex Samuel. FWIW, 
the book can be downloaded from 
www.advancedlinuxprogramming.com/alp-folder.

-- 
Angus


Reply via email to