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
a3f973c4
Commit
a3f973c4
authored
Feb 20, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stdio.h: Add ucrt _vsnprintf_s declaration.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6017d333
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
stdio.h
include/msvcrt/stdio.h
+9
-1
No files found.
include/msvcrt/stdio.h
View file @
a3f973c4
...
@@ -89,7 +89,6 @@ char* __cdecl _tempnam(const char*,const char*);
...
@@ -89,7 +89,6 @@ char* __cdecl _tempnam(const char*,const char*);
int
__cdecl
_unlink
(
const
char
*
);
int
__cdecl
_unlink
(
const
char
*
);
int
WINAPIV
_scprintf
(
const
char
*
,...);
int
WINAPIV
_scprintf
(
const
char
*
,...);
int
__cdecl
_vscprintf
(
const
char
*
,
__ms_va_list
);
int
__cdecl
_vscprintf
(
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsnprintf_s
(
char
*
,
size_t
,
size_t
,
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsprintf_p_l
(
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
int
__cdecl
_vsprintf_p_l
(
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
size_t
__cdecl
_fread_nolock
(
void
*
,
size_t
,
size_t
,
FILE
*
);
size_t
__cdecl
_fread_nolock
(
void
*
,
size_t
,
size_t
,
FILE
*
);
...
@@ -169,6 +168,7 @@ unsigned int __cdecl _set_output_format(void);
...
@@ -169,6 +168,7 @@ unsigned int __cdecl _set_output_format(void);
#ifdef _UCRT
#ifdef _UCRT
_ACRTIMP
int
__cdecl
__stdio_common_vsprintf
(
unsigned
__int64
,
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
__stdio_common_vsprintf
(
unsigned
__int64
,
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
__stdio_common_vsnprintf_s
(
unsigned
__int64
,
char
*
,
size_t
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
static
inline
int
__cdecl
vsnprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
__ms_va_list
args
)
static
inline
int
__cdecl
vsnprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
__ms_va_list
args
)
{
{
...
@@ -184,8 +184,16 @@ static inline int __cdecl _vsnprintf(char *buffer, size_t size, const char *form
...
@@ -184,8 +184,16 @@ static inline int __cdecl _vsnprintf(char *buffer, size_t size, const char *form
return
ret
<
0
?
-
1
:
ret
;
return
ret
<
0
?
-
1
:
ret
;
}
}
static
inline
int
__cdecl
_vsnprintf_s
(
char
*
buffer
,
size_t
size
,
size_t
count
,
const
char
*
format
,
__ms_va_list
args
)
{
int
ret
=
__stdio_common_vsnprintf_s
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
buffer
,
size
,
count
,
format
,
NULL
,
args
);
return
ret
<
0
?
-
1
:
ret
;
}
#else
/* _UCRT */
#else
/* _UCRT */
_ACRTIMP
int
__cdecl
_vsnprintf_s
(
char
*
,
size_t
,
size_t
,
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsnprintf
(
char
*
,
size_t
,
const
char
*
,
__ms_va_list
);
int
__cdecl
_vsnprintf
(
char
*
,
size_t
,
const
char
*
,
__ms_va_list
);
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
);
}
...
...
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