os: document pnprintf as sigsafe snprintf

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2013-02-18 14:57:58 +10:00
parent c100211034
commit 44fc062f85

View File

@ -279,6 +279,10 @@ LogSetParameter(LogParameter param, int value)
} }
} }
/**
* Signal-safe snprintf, with some limitations over snprintf. Be careful
* which directives you use.
*/
static int static int
pnprintf(char *string, size_t size, const char *f, va_list args) pnprintf(char *string, size_t size, const char *f, va_list args)
{ {