Commit 44fc062f authored by Peter Hutterer's avatar Peter Hutterer

os: document pnprintf as sigsafe snprintf

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent c1002110
......@@ -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
pnprintf(char *string, size_t size, const char *f, va_list args)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment