Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0eb79209
Commit
0eb79209
authored
Feb 18, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 18, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stdio.h: Add snprintf inline wrapper.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ad4c734c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
stdio.h
include/msvcrt/stdio.h
+11
-1
No files found.
include/msvcrt/stdio.h
View file @
0eb79209
...
@@ -192,7 +192,17 @@ static inline int unlink(const char* path) { return _unlink(path); }
...
@@ -192,7 +192,17 @@ static inline int unlink(const char* path) { return _unlink(path); }
#define _UNLINK_DEFINED
#define _UNLINK_DEFINED
#endif
#endif
static
inline
int
vsnprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
__ms_va_list
args
)
{
return
_vsnprintf
(
buffer
,
size
,
format
,
args
);
}
static
inline
int
vsnprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
__ms_va_list
args
)
{
return
_vsnprintf
(
buffer
,
size
,
format
,
args
);
}
#define snprintf _snprintf
static
inline
int
WINAPIV
snprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
...)
{
int
ret
;
__ms_va_list
args
;
__ms_va_start
(
args
,
format
);
ret
=
vsnprintf
(
buffer
,
size
,
format
,
args
);
__ms_va_end
(
args
);
return
ret
;
}
static
inline
int
WINAPIV
_snprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
...)
static
inline
int
WINAPIV
_snprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
...)
{
{
...
...
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