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
c317c1c4
Commit
c317c1c4
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 _snscanf_l declaration.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
6e5ef798
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
stdio.h
include/msvcrt/stdio.h
+12
-1
No files found.
include/msvcrt/stdio.h
View file @
c317c1c4
...
...
@@ -136,7 +136,6 @@ int __cdecl rename(const char*,const char*);
void
__cdecl
rewind
(
FILE
*
);
void
__cdecl
setbuf
(
FILE
*
,
char
*
);
int
__cdecl
setvbuf
(
FILE
*
,
char
*
,
int
,
size_t
);
int
WINAPIV
_snscanf_l
(
const
char
*
,
size_t
,
const
char
*
,
_locale_t
,...);
FILE
*
__cdecl
tmpfile
(
void
);
char
*
__cdecl
tmpnam
(
char
*
);
int
__cdecl
ungetc
(
int
,
FILE
*
);
...
...
@@ -321,6 +320,17 @@ static inline int WINAPIV sscanf_s(const char *buffer, const char *format, ...)
return
ret
;
}
static
inline
int
WINAPIV
_snscanf_l
(
const
char
*
buffer
,
size_t
size
,
const
char
*
format
,
_locale_t
locale
,
...)
{
int
ret
;
__ms_va_list
args
;
__ms_va_start
(
args
,
locale
);
ret
=
__stdio_common_vsscanf
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS
,
buffer
,
size
,
format
,
locale
,
args
);
__ms_va_end
(
args
);
return
ret
;
}
static
inline
int
WINAPIV
fscanf
(
FILE
*
file
,
const
char
*
format
,
...)
{
int
ret
;
...
...
@@ -387,6 +397,7 @@ _ACRTIMP int __cdecl vsprintf_s(char*,size_t,const char*,__ms_va_list);
int
__cdecl
_vsnprintf
(
char
*
,
size_t
,
const
char
*
,
__ms_va_list
);
static
inline
int
vsnprintf
(
char
*
buffer
,
size_t
size
,
const
char
*
format
,
__ms_va_list
args
)
{
return
_vsnprintf
(
buffer
,
size
,
format
,
args
);
}
_ACRTIMP
int
WINAPIV
_snscanf_l
(
const
char
*
,
size_t
,
const
char
*
,
_locale_t
,...);
_ACRTIMP
int
WINAPIV
fscanf
(
FILE
*
,
const
char
*
,...);
_ACRTIMP
int
WINAPIV
fscanf_s
(
FILE
*
,
const
char
*
,...);
_ACRTIMP
int
WINAPIV
scanf
(
const
char
*
,...);
...
...
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