Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
905cb7e3
Commit
905cb7e3
authored
May 19, 2002
by
Francois Gouget
Committed by
Alexandre Julliard
May 19, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented _getws.
parent
69e35009
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
file.c
dlls/msvcrt/file.c
+20
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/file.c
View file @
905cb7e3
...
...
@@ -2236,6 +2236,26 @@ char *MSVCRT_gets(char *buf)
}
/*********************************************************************
* _getws (MSVCRT.@)
*/
WCHAR
*
MSVCRT__getws
(
WCHAR
*
buf
)
{
MSVCRT_wint_t
cc
;
WCHAR
*
ws
=
buf
;
for
(
cc
=
MSVCRT_fgetwc
(
MSVCRT_stdin
);
cc
!=
MSVCRT_WEOF
&&
cc
!=
'\n'
;
cc
=
MSVCRT_fgetwc
(
MSVCRT_stdin
))
{
if
(
cc
!=
'\r'
)
*
buf
++
=
(
WCHAR
)
cc
;
}
*
buf
=
'\0'
;
TRACE
(
"got '%s'
\n
"
,
debugstr_w
(
ws
));
return
ws
;
}
/*********************************************************************
* putc (MSVCRT.@)
*/
int
MSVCRT_putc
(
int
c
,
MSVCRT_FILE
*
file
)
...
...
dlls/msvcrt/msvcrt.spec
View file @
905cb7e3
...
...
@@ -262,7 +262,7 @@ init MSVCRT_Init
@ forward _getpid kernel32.GetCurrentProcessId
@ stub _getsystime #(ptr)
@ cdecl _getw(ptr) _getw
@
stub _getws #(wstr)
@
cdecl _getws(ptr) MSVCRT__getws
@ cdecl _global_unwind2(ptr) _global_unwind2
@ cdecl _heapadd (ptr long) _heapadd
@ cdecl _heapchk() _heapchk
...
...
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