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
97194ec0
Commit
97194ec0
authored
Jan 10, 2010
by
Jason Edmeades
Committed by
Alexandre Julliard
Jan 11, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add support for sprintf_s.
parent
a2d4e5cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
0 deletions
+15
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-0
wcs.c
dlls/msvcrt/wcs.c
+14
-0
No files found.
dlls/msvcrt/msvcrt.spec
View file @
97194ec0
...
...
@@ -747,6 +747,7 @@
@ cdecl sin(double) MSVCRT_sin
@ cdecl sinh(double) MSVCRT_sinh
@ varargs sprintf(ptr str) MSVCRT_sprintf
@ varargs sprintf_s(ptr long str) MSVCRT_sprintf_s
@ cdecl sqrt(double) MSVCRT_sqrt
@ cdecl srand(long) MSVCRT_srand
@ varargs sscanf(str str) MSVCRT_sscanf
...
...
dlls/msvcrt/wcs.c
View file @
97194ec0
...
...
@@ -902,6 +902,20 @@ int CDECL MSVCRT_sprintf( char *str, const char *format, ... )
}
/*********************************************************************
* sprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_sprintf_s
(
char
*
str
,
MSVCRT_size_t
num
,
const
char
*
format
,
...
)
{
__ms_va_list
ap
;
int
r
;
__ms_va_start
(
ap
,
format
);
r
=
MSVCRT_vsnprintf
(
str
,
num
,
format
,
ap
);
__ms_va_end
(
ap
);
return
r
;
}
/*********************************************************************
* swprintf (MSVCRT.@)
*/
int
CDECL
MSVCRT_swprintf
(
MSVCRT_wchar_t
*
str
,
const
MSVCRT_wchar_t
*
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