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
a57d67b9
Commit
a57d67b9
authored
Sep 30, 2019
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add wcrtomb_s implementation.
Signed-off-by:
Piotr Caban
<
piotr@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
41bed702
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
9 deletions
+23
-9
api-ms-win-crt-convert-l1-1-0.spec
...win-crt-convert-l1-1-0/api-ms-win-crt-convert-l1-1-0.spec
+1
-1
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr120.spec
dlls/msvcr120/msvcr120.spec
+1
-1
msvcr120_app.spec
dlls/msvcr120_app/msvcr120_app.spec
+1
-1
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
+14
-0
ucrtbase.spec
dlls/ucrtbase/ucrtbase.spec
+1
-1
No files found.
dlls/api-ms-win-crt-convert-l1-1-0/api-ms-win-crt-convert-l1-1-0.spec
View file @
a57d67b9
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
@ cdecl -ret64 strtoull(str ptr long) ucrtbase.strtoull
@ cdecl -ret64 strtoull(str ptr long) ucrtbase.strtoull
@ cdecl -ret64 strtoumax(str ptr long) ucrtbase.strtoumax
@ cdecl -ret64 strtoumax(str ptr long) ucrtbase.strtoumax
@ cdecl wcrtomb(ptr long ptr) ucrtbase.wcrtomb
@ cdecl wcrtomb(ptr long ptr) ucrtbase.wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) ucrtbase.
wcrtomb_s
@ cdecl wcsrtombs(ptr ptr long ptr) ucrtbase.wcsrtombs
@ cdecl wcsrtombs(ptr ptr long ptr) ucrtbase.wcsrtombs
@ cdecl wcsrtombs_s(ptr ptr long ptr long ptr) ucrtbase.wcsrtombs_s
@ cdecl wcsrtombs_s(ptr ptr long ptr long ptr) ucrtbase.wcsrtombs_s
@ cdecl wcstod(wstr ptr) ucrtbase.wcstod
@ cdecl wcstod(wstr ptr) ucrtbase.wcstod
...
...
dlls/msvcr100/msvcr100.spec
View file @
a57d67b9
...
@@ -1853,7 +1853,7 @@
...
@@ -1853,7 +1853,7 @@
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcr110/msvcr110.spec
View file @
a57d67b9
...
@@ -2211,7 +2211,7 @@
...
@@ -2211,7 +2211,7 @@
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcr120/msvcr120.spec
View file @
a57d67b9
...
@@ -2446,7 +2446,7 @@
...
@@ -2446,7 +2446,7 @@
@ stub vwscanf
@ stub vwscanf
@ stub vwscanf_s
@ stub vwscanf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcr120_app/msvcr120_app.spec
View file @
a57d67b9
...
@@ -2108,7 +2108,7 @@
...
@@ -2108,7 +2108,7 @@
@ stub vwscanf
@ stub vwscanf
@ stub vwscanf_s
@ stub vwscanf_s
@ cdecl wcrtomb(ptr long ptr) msvcr120.wcrtomb
@ cdecl wcrtomb(ptr long ptr) msvcr120.wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) msvcr120.
wcrtomb_s
@ cdecl wcscat(wstr wstr) msvcr120.wcscat
@ cdecl wcscat(wstr wstr) msvcr120.wcscat
@ cdecl wcscat_s(wstr long wstr) msvcr120.wcscat_s
@ cdecl wcscat_s(wstr long wstr) msvcr120.wcscat_s
@ cdecl wcschr(wstr long) msvcr120.wcschr
@ cdecl wcschr(wstr long) msvcr120.wcschr
...
...
dlls/msvcr80/msvcr80.spec
View file @
a57d67b9
...
@@ -1533,7 +1533,7 @@
...
@@ -1533,7 +1533,7 @@
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcr90/msvcr90.spec
View file @
a57d67b9
...
@@ -1506,7 +1506,7 @@
...
@@ -1506,7 +1506,7 @@
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcrt/msvcrt.spec
View file @
a57d67b9
...
@@ -1480,7 +1480,7 @@
...
@@ -1480,7 +1480,7 @@
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf(wstr ptr) MSVCRT_vwprintf
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl vwprintf_s(wstr ptr) MSVCRT_vwprintf_s
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
# stub wcrtomb_s(ptr ptr long long ptr)
@ cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
dlls/msvcrt/wcs.c
View file @
a57d67b9
...
@@ -1822,6 +1822,20 @@ INT CDECL MSVCRT_wctob( MSVCRT_wint_t wchar )
...
@@ -1822,6 +1822,20 @@ INT CDECL MSVCRT_wctob( MSVCRT_wint_t wchar )
}
}
/*********************************************************************
/*********************************************************************
* wcrtomb_s (MSVCRT.@)
*/
INT
CDECL
MSVCRT_wcrtomb_s
(
MSVCRT_size_t
*
len
,
char
*
mbchar
,
MSVCRT_size_t
size
,
MSVCRT_wchar_t
wch
,
MSVCRT_mbstate_t
*
s
)
{
int
ilen
,
ret
;
if
(
s
)
*
s
=
0
;
ret
=
MSVCRT_wctomb_s
(
&
ilen
,
mbchar
,
size
,
wch
);
if
(
len
)
*
len
=
ilen
;
return
ret
;
}
/*********************************************************************
* wcrtomb (MSVCRT.@)
* wcrtomb (MSVCRT.@)
*/
*/
MSVCRT_size_t
CDECL
MSVCRT_wcrtomb
(
char
*
dst
,
MSVCRT_wchar_t
ch
,
MSVCRT_mbstate_t
*
s
)
MSVCRT_size_t
CDECL
MSVCRT_wcrtomb
(
char
*
dst
,
MSVCRT_wchar_t
ch
,
MSVCRT_mbstate_t
*
s
)
...
...
dlls/ucrtbase/ucrtbase.spec
View file @
a57d67b9
...
@@ -2553,7 +2553,7 @@
...
@@ -2553,7 +2553,7 @@
@ cdecl ungetc(long ptr) MSVCRT_ungetc
@ cdecl ungetc(long ptr) MSVCRT_ungetc
@ cdecl ungetwc(long ptr) MSVCRT_ungetwc
@ cdecl ungetwc(long ptr) MSVCRT_ungetwc
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@ cdecl wcrtomb(ptr long ptr) MSVCRT_wcrtomb
@
stub
wcrtomb_s
@
cdecl wcrtomb_s(ptr ptr long long ptr) MSVCRT_
wcrtomb_s
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat(wstr wstr) ntdll.wcscat
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcscat_s(wstr long wstr) MSVCRT_wcscat_s
@ cdecl wcschr(wstr long) MSVCRT_wcschr
@ cdecl wcschr(wstr long) MSVCRT_wcschr
...
...
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