Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-fonts
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
Aleksandr Isakov
wine-fonts
Commits
3237e402
Commit
3237e402
authored
Feb 02, 2022
by
Daniel Lehman
Committed by
Alexandre Julliard
Feb 04, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add _sscanf_l.
Signed-off-by:
Daniel Lehman
<
dlehman@esri.com
>
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ae9b4f10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
stdio.h
include/msvcrt/stdio.h
+13
-0
No files found.
include/msvcrt/stdio.h
View file @
3237e402
...
...
@@ -359,6 +359,18 @@ static inline int WINAPIV _snscanf_l(const char *buffer, size_t size, const char
return
ret
;
}
static
inline
int
WINAPIV
_sscanf_l
(
const
char
*
buffer
,
const
char
*
format
,
_locale_t
locale
,
...)
__WINE_CRT_SCANF_ATTR
(
2
,
4
);
static
inline
int
WINAPIV
_sscanf_l
(
const
char
*
buffer
,
const
char
*
format
,
_locale_t
locale
,
...)
{
int
ret
;
va_list
args
;
va_start
(
args
,
locale
);
ret
=
__stdio_common_vsscanf
(
_CRT_INTERNAL_LOCAL_SCANF_OPTIONS
,
buffer
,
-
1
,
format
,
locale
,
args
);
va_end
(
args
);
return
ret
;
}
static
inline
int
WINAPIV
fscanf
(
FILE
*
file
,
const
char
*
format
,
...)
__WINE_CRT_SCANF_ATTR
(
2
,
3
);
static
inline
int
WINAPIV
fscanf
(
FILE
*
file
,
const
char
*
format
,
...)
{
...
...
@@ -432,6 +444,7 @@ static inline int vsnprintf(char *buffer, size_t size, const char *format, va_li
{
return
_vsnprintf
(
buffer
,
size
,
format
,
args
);
}
_ACRTIMP
int
WINAPIV
_snscanf_l
(
const
char
*
,
size_t
,
const
char
*
,
_locale_t
,...)
__WINE_CRT_SCANF_ATTR
(
3
,
5
);
_ACRTIMP
int
WINAPIV
_sscanf_l
(
const
char
*
,
const
char
*
,
_locale_t
,...)
__WINE_CRT_SCANF_ATTR
(
2
,
4
);
_ACRTIMP
int
WINAPIV
fscanf
(
FILE
*
,
const
char
*
,...)
__WINE_CRT_SCANF_ATTR
(
2
,
3
);
_ACRTIMP
int
WINAPIV
fscanf_s
(
FILE
*
,
const
char
*
,...)
__WINE_CRT_SCANF_ATTR
(
2
,
3
);
_ACRTIMP
int
WINAPIV
scanf
(
const
char
*
,...)
__WINE_CRT_SCANF_ATTR
(
1
,
2
);
...
...
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