mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-05 03:20:14 +01:00
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
1 changed files with 4 additions and 0 deletions
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
|
||||
pnprintf(char *string, size_t size, const char *f, va_list args)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue