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
c483bebe
Commit
c483bebe
authored
Apr 20, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 21, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added swprintf_s implementation.
parent
2ff04b9d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
3 deletions
+20
-3
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
+17
-0
No files found.
dlls/msvcr80/msvcr80.spec
View file @
c483bebe
...
...
@@ -1400,7 +1400,7 @@
@ cdecl strtol(str ptr long) msvcrt.strtol
@ cdecl strtoul(str ptr long) msvcrt.strtoul
@ cdecl strxfrm(ptr str long) msvcrt.strxfrm
@
stub
swprintf_s
@
varargs swprintf_s(ptr long wstr) msvcrt.
swprintf_s
@ varargs swscanf(wstr wstr) msvcrt.swscanf
@ stub swscanf_s
@ cdecl system(str) msvcrt.system
...
...
dlls/msvcr90/msvcr90.spec
View file @
c483bebe
...
...
@@ -1384,7 +1384,7 @@
@ cdecl strtol(str ptr long) msvcrt.strtol
@ cdecl strtoul(str ptr long) msvcrt.strtoul
@ cdecl strxfrm(ptr str long) msvcrt.strxfrm
@
stub
swprintf_s
@
varargs swprintf_s(ptr long wstr) msvcrt.
swprintf_s
@ varargs swscanf(wstr wstr) msvcrt.swscanf
@ stub swscanf_s
@ cdecl system(str) msvcrt.system
...
...
dlls/msvcrt/msvcrt.spec
View file @
c483bebe
...
...
@@ -1341,7 +1341,7 @@
@ cdecl strtoul(str ptr long) MSVCRT_strtoul
@ cdecl strxfrm(ptr str long) MSVCRT_strxfrm
@ varargs swprintf(ptr wstr) MSVCRT_swprintf
# stub
swprintf_s
@ varargs swprintf_s(ptr long wstr) MSVCRT_
swprintf_s
@ varargs swscanf(wstr wstr) MSVCRT_swscanf
# stub swscanf_s
@ cdecl system(str) MSVCRT_system
...
...
dlls/msvcrt/wcs.c
View file @
c483bebe
...
...
@@ -1065,6 +1065,23 @@ int CDECL MSVCRT_swprintf( MSVCRT_wchar_t *str, const MSVCRT_wchar_t *format, ..
}
/*********************************************************************
* swprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_swprintf_s
(
MSVCRT_wchar_t
*
str
,
MSVCRT_size_t
numberOfElements
,
const
MSVCRT_wchar_t
*
format
,
...
)
{
__ms_va_list
ap
;
int
r
;
__ms_va_start
(
ap
,
format
);
r
=
MSVCRT_vsnwprintf_s
(
str
,
numberOfElements
*
sizeof
(
MSVCRT_wchar_t
),
INT_MAX
,
format
,
ap
);
__ms_va_end
(
ap
);
return
r
;
}
/*********************************************************************
* vswprintf (MSVCRT.@)
*/
int
CDECL
MSVCRT_vswprintf
(
MSVCRT_wchar_t
*
str
,
const
MSVCRT_wchar_t
*
format
,
__ms_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