os: document pnprintf as sigsafe snprintf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c100211034
commit
44fc062f85
4
os/log.c
4
os/log.c
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue