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
59bddde5
Commit
59bddde5
authored
Jun 10, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add _snprintf_s implementation.
parent
7c520469
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
4 deletions
+18
-4
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+14
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
59bddde5
...
...
@@ -1044,7 +1044,7 @@
@ stub _snprintf_c
@ stub _snprintf_c_l
@ stub _snprintf_l
@
stub
_snprintf_s
@
varargs _snprintf_s(ptr long long str) msvcrt.
_snprintf_s
@ stub _snprintf_s_l
@ stub _snscanf
@ stub _snscanf_l
...
...
dlls/msvcr80/msvcr80.spec
View file @
59bddde5
...
...
@@ -891,7 +891,7 @@
@ stub _snprintf_c
@ stub _snprintf_c_l
@ stub _snprintf_l
@
stub
_snprintf_s
@
varargs _snprintf_s(ptr long long str) msvcrt.
_snprintf_s
@ stub _snprintf_s_l
@ stub _snscanf
@ stub _snscanf_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
59bddde5
...
...
@@ -877,7 +877,7 @@
@ stub _snprintf_c
@ stub _snprintf_c_l
@ stub _snprintf_l
@
stub
_snprintf_s
@
varargs _snprintf_s(ptr long long str) msvcrt.
_snprintf_s
@ stub _snprintf_s_l
@ stub _snscanf
@ stub _snscanf_l
...
...
dlls/msvcrt/msvcrt.spec
View file @
59bddde5
...
...
@@ -830,7 +830,7 @@
# stub _snprintf_c
# stub _snprintf_c_l
# stub _snprintf_l
# stub
_snprintf_s
@ varargs _snprintf_s(ptr long long str) MSVCRT_
_snprintf_s
# stub _snprintf_s_l
# stub _snscanf
# stub _snscanf_l
...
...
dlls/msvcrt/wcs.c
View file @
59bddde5
...
...
@@ -1103,6 +1103,20 @@ int CDECL MSVCRT__snprintf(char *str, unsigned int len, const char *format, ...)
}
/*********************************************************************
* _snprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT__snprintf_s
(
char
*
str
,
unsigned
int
len
,
unsigned
int
count
,
const
char
*
format
,
...)
{
int
retval
;
__ms_va_list
valist
;
__ms_va_start
(
valist
,
format
);
retval
=
MSVCRT_vsnprintf_s_l
(
str
,
len
,
count
,
format
,
NULL
,
valist
);
__ms_va_end
(
valist
);
return
retval
;
}
/*********************************************************************
* vsnwprintf_internal (INTERNAL)
*/
static
inline
int
vsnwprintf_internal
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
len
,
...
...
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