Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6296d95b
Commit
6296d95b
authored
Nov 24, 2010
by
Eryk Wieliczko
Committed by
Alexandre Julliard
Nov 25, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Implement vprintf_s and vwprintf_s.
parent
8bf437d8
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
8 deletions
+27
-8
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+2
-2
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+2
-2
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+2
-2
file.c
dlls/msvcrt/file.c
+16
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+2
-2
stdio.h
include/msvcrt/stdio.h
+2
-0
wchar.h
include/msvcrt/wchar.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
6296d95b
...
...
@@ -1621,12 +1621,12 @@
@ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf
@ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s
@ cdecl vprintf(str ptr) msvcrt.vprintf
@
stub
vprintf_s
@
cdecl vprintf_s(str ptr) msvcrt.
vprintf_s
@ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf
@ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s
@ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s
@ cdecl vwprintf(wstr ptr) msvcrt.vwprintf
@
stub
vwprintf_s
@
cdecl vwprintf_s(wstr ptr) msvcrt.
vwprintf_s
@ stub wcrtomb
@ stub wcrtomb_s
@ cdecl wcscat(wstr wstr) msvcrt.wcscat
...
...
dlls/msvcr80/msvcr80.spec
View file @
6296d95b
...
...
@@ -1475,12 +1475,12 @@
@ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf
@ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s
@ cdecl vprintf(str ptr) msvcrt.vprintf
@
stub
vprintf_s
@
cdecl vprintf_s(str ptr) msvcrt.
vprintf_s
@ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf
@ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s
@ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s
@ cdecl vwprintf(wstr ptr) msvcrt.vwprintf
@
stub
vwprintf_s
@
cdecl vwprintf_s(wstr ptr) msvcrt.
vwprintf_s
@ stub wcrtomb
@ stub wcrtomb_s
@ cdecl wcscat(wstr wstr) msvcrt.wcscat
...
...
dlls/msvcr90/msvcr90.spec
View file @
6296d95b
...
...
@@ -1459,12 +1459,12 @@
@ cdecl vfwprintf(ptr wstr ptr) msvcrt.vfwprintf
@ cdecl vfwprintf_s(ptr wstr ptr) msvcrt.vfwprintf_s
@ cdecl vprintf(str ptr) msvcrt.vprintf
@
stub
vprintf_s
@
cdecl vprintf_s(str ptr) msvcrt.
vprintf_s
@ cdecl vsprintf(ptr str ptr) msvcrt.vsprintf
@ cdecl vsprintf_s(ptr long str ptr) msvcrt.vsprintf_s
@ cdecl vswprintf_s(ptr long wstr ptr) msvcrt.vswprintf_s
@ cdecl vwprintf(wstr ptr) msvcrt.vwprintf
@
stub
vwprintf_s
@
cdecl vwprintf_s(wstr ptr) msvcrt.
vwprintf_s
@ stub wcrtomb
@ stub wcrtomb_s
@ cdecl wcscat(wstr wstr) msvcrt.wcscat
...
...
dlls/msvcrt/file.c
View file @
6296d95b
...
...
@@ -3463,6 +3463,14 @@ int CDECL MSVCRT_vprintf(const char *format, __ms_va_list valist)
}
/*********************************************************************
* vprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_vprintf_s
(
const
char
*
format
,
__ms_va_list
valist
)
{
return
MSVCRT_vfprintf_s
(
MSVCRT_stdout
,
format
,
valist
);
}
/*********************************************************************
* vwprintf (MSVCRT.@)
*/
int
CDECL
MSVCRT_vwprintf
(
const
MSVCRT_wchar_t
*
format
,
__ms_va_list
valist
)
...
...
@@ -3471,6 +3479,14 @@ int CDECL MSVCRT_vwprintf(const MSVCRT_wchar_t *format, __ms_va_list valist)
}
/*********************************************************************
* vwprintf_s (MSVCRT.@)
*/
int
CDECL
MSVCRT_vwprintf_s
(
const
MSVCRT_wchar_t
*
format
,
__ms_va_list
valist
)
{
return
MSVCRT_vfwprintf_s
(
MSVCRT_stdout
,
format
,
valist
);
}
/*********************************************************************
* fprintf (MSVCRT.@)
*/
int
CDECL
MSVCRT_fprintf
(
MSVCRT_FILE
*
file
,
const
char
*
format
,
...)
...
...
dlls/msvcrt/msvcrt.spec
View file @
6296d95b
...
...
@@ -1426,14 +1426,14 @@
@ cdecl vfwprintf(ptr wstr ptr) MSVCRT_vfwprintf
@ cdecl vfwprintf_s(ptr wstr ptr) MSVCRT_vfwprintf_s
@ cdecl vprintf(str ptr) MSVCRT_vprintf
# stub
vprintf_s
@ cdecl vprintf_s(str ptr) MSVCRT_
vprintf_s
# stub vsnprintf
@ cdecl vsprintf(ptr str ptr) MSVCRT_vsprintf
@ cdecl vsprintf_s(ptr long str ptr) MSVCRT_vsprintf_s
@ cdecl vswprintf(ptr wstr ptr) MSVCRT_vswprintf
@ cdecl vswprintf_s(ptr long wstr ptr) MSVCRT_vswprintf_s
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
# stub
vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_
vwprintf_s
# stub wcrtomb
# stub wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
...
...
include/msvcrt/stdio.h
View file @
6296d95b
...
...
@@ -168,6 +168,7 @@ int __cdecl ungetc(int,FILE*);
int
__cdecl
vfprintf
(
FILE
*
,
const
char
*
,
__ms_va_list
);
int
__cdecl
vfprintf_s
(
FILE
*
,
const
char
*
,
__ms_va_list
);
int
__cdecl
vprintf
(
const
char
*
,
__ms_va_list
);
int
__cdecl
vprintf_s
(
const
char
*
,
__ms_va_list
);
int
__cdecl
vsprintf
(
char
*
,
const
char
*
,
__ms_va_list
);
int
__cdecl
vsprintf_s
(
char
*
,
size_t
,
const
char
*
,
__ms_va_list
);
...
...
@@ -217,6 +218,7 @@ int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list);
int
__cdecl
vswprintf
(
wchar_t
*
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vswprintf_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vwprintf
(
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vwprintf_s
(
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
wprintf
(
const
wchar_t
*
,...);
int
__cdecl
wscanf
(
const
wchar_t
*
,...);
int
__cdecl
wscanf_s
(
const
wchar_t
*
,...);
...
...
include/msvcrt/wchar.h
View file @
6296d95b
...
...
@@ -314,6 +314,7 @@ int __cdecl vfwprintf_s(FILE*,const wchar_t*,__ms_va_list);
int
__cdecl
vswprintf
(
wchar_t
*
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vswprintf_s
(
wchar_t
*
,
size_t
,
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vwprintf
(
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
vwprintf_s
(
const
wchar_t
*
,
__ms_va_list
);
int
__cdecl
wprintf
(
const
wchar_t
*
,...);
int
__cdecl
wscanf
(
const
wchar_t
*
,...);
int
__cdecl
wscanf_s
(
const
wchar_t
*
,...);
...
...
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