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
39b1d610
Commit
39b1d610
authored
Feb 21, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stdio.h: Add ucrt fprintf and fprintf_s declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6bc15730
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
2 deletions
+24
-2
stdio.h
include/msvcrt/stdio.h
+24
-2
No files found.
include/msvcrt/stdio.h
View file @
39b1d610
...
...
@@ -113,8 +113,6 @@ int __cdecl fgetpos(FILE*,fpos_t*);
char
*
__cdecl
fgets
(
char
*
,
int
,
FILE
*
);
FILE
*
__cdecl
fopen
(
const
char
*
,
const
char
*
);
errno_t
__cdecl
fopen_s
(
FILE
**
,
const
char
*
,
const
char
*
);
int
WINAPIV
fprintf
(
FILE
*
,
const
char
*
,...);
int
WINAPIV
fprintf_s
(
FILE
*
,
const
char
*
,...);
int
__cdecl
fputc
(
int
,
FILE
*
);
int
__cdecl
fputs
(
const
char
*
,
FILE
*
);
size_t
__cdecl
fread
(
void
*
,
size_t
,
size_t
,
FILE
*
);
...
...
@@ -239,11 +237,33 @@ static inline int __cdecl vfprintf(FILE *file, const char *format, __ms_va_list
return
__stdio_common_vfprintf
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
}
static
inline
int
WINAPIV
fprintf
(
FILE
*
file
,
const
char
*
format
,
...)
{
int
ret
;
__ms_va_list
args
;
__ms_va_start
(
args
,
format
);
ret
=
__stdio_common_vfprintf
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
__ms_va_end
(
args
);
return
ret
;
}
static
inline
int
__cdecl
vfprintf_s
(
FILE
*
file
,
const
char
*
format
,
__ms_va_list
args
)
{
return
__stdio_common_vfprintf_s
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
}
static
inline
int
WINAPIV
fprintf_s
(
FILE
*
file
,
const
char
*
format
,
...)
{
int
ret
;
__ms_va_list
args
;
__ms_va_start
(
args
,
format
);
ret
=
__stdio_common_vfprintf_s
(
_CRT_INTERNAL_LOCAL_PRINTF_OPTIONS
,
file
,
format
,
NULL
,
args
);
__ms_va_end
(
args
);
return
ret
;
}
#else
/* _UCRT */
_ACRTIMP
int
WINAPIV
_scprintf
(
const
char
*
,...);
...
...
@@ -251,6 +271,8 @@ _ACRTIMP int WINAPIV _snprintf_s(char*,size_t,size_t,const char*,...);
_ACRTIMP
int
__cdecl
_vscprintf
(
const
char
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
_vsnprintf_s
(
char
*
,
size_t
,
size_t
,
const
char
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
_vsprintf_p_l
(
char
*
,
size_t
,
const
char
*
,
_locale_t
,
__ms_va_list
);
_ACRTIMP
int
WINAPIV
fprintf
(
FILE
*
,
const
char
*
,...);
_ACRTIMP
int
WINAPIV
fprintf_s
(
FILE
*
,
const
char
*
,...);
_ACRTIMP
int
__cdecl
vfprintf
(
FILE
*
,
const
char
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
vfprintf_s
(
FILE
*
,
const
char
*
,
__ms_va_list
);
_ACRTIMP
int
__cdecl
vsprintf
(
char
*
,
const
char
*
,
__ms_va_list
);
...
...
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