Subject: Re: snprintf_ss (Re: CVS commit: src/include)
To: YAMAMOTO Takashi <firstname.lastname@example.org>
From: Jason Thorpe <email@example.com>
Date: 10/28/2006 08:50:11
On Oct 27, 2006, at 10:26 PM, YAMAMOTO Takashi wrote:
>> Module Name: src
>> Committed By: christos
>> Date: Fri Oct 27 20:03:21 UTC 2006
>> Modified Files:
>> src/include: stdio.h
>> Log Message:
>> - flags should be unsigned short instead of short.
>> - add __SAFE flag, to indicate that we want async-signal-safe
>> - add snprintf_ss, and vsnprintf_ss; these are undocumented on
> please don't use locale stuffs like localeconv from signal handlers.
> i'd suggest to have a minimal, dedicated logging function,
> rather than trying to make syslog and stdio signal safe.
I completely agree.
> YAMAMOTO Takashi