Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Adam Jackson
xserver
Commits
44fc062f
Commit
44fc062f
authored
Feb 18, 2013
by
Peter Hutterer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
os: document pnprintf as sigsafe snprintf
Signed-off-by:
Peter Hutterer
<
peter.hutterer@who-t.net
>
parent
c1002110
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
os/log.c
os/log.c
+4
-0
No files found.
os/log.c
View file @
44fc062f
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment