On 09/15/11 21:16, Anthony Liguori wrote:
On 09/15/2011 12:22 PM, Laszlo Ersek wrote:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_04_03_03

I don't think you can rely on snprintf being signal safe. I think you
should just exit on failure.

OpenBSD lists snprintf as signal safe, but "probably not on other systems."

I wasn't diligent enough to look up snprintf() in the table I linked myself. In other news, I hold a Programmers' Darwin Award. Will send v2.

Thanks,
lacos

Reply via email to