diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2013-02-18 14:57:58 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2013-03-06 09:23:20 +1000 |
commit | 44fc062f85df7288c17d2d64b73aa4957b91fd6d (patch) | |
tree | 5f9633e63761e0cbeb26786bd5b7891f428f57f7 /os | |
parent | c100211034ab69ce453a1644fb61c6808d7e3eda (diff) |
os: document pnprintf as sigsafe snprintf
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'os')
-rw-r--r-- | os/log.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) { |