mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-01 17:18:11 +02:00
os: document pnprintf as sigsafe snprintf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 44fc062f85)
This commit is contained in:
parent
8318d6a89c
commit
00b8d11daf
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