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
a6ceb0fe
Commit
a6ceb0fe
authored
Dec 24, 1998
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better _ultoa().
parent
8f1b5e63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
crtdll.c
misc/crtdll.c
+19
-8
No files found.
misc/crtdll.c
View file @
a6ceb0fe
...
...
@@ -1911,6 +1911,25 @@ LPSTR __cdecl CRTDLL__ltoa(long x,LPSTR buf,INT32 radix)
return
buf
;
}
/*********************************************************************
* _ultoa (CRTDLL.311)
*/
LPSTR
__cdecl
CRTDLL__ultoa
(
long
x
,
LPSTR
buf
,
INT32
radix
)
{
switch
(
radix
)
{
case
2
:
FIXME
(
crtdll
,
"binary format not implemented !
\n
"
);
break
;
case
8
:
wsnprintf32A
(
buf
,
0x80
,
"%lo"
,
x
);
break
;
case
10
:
wsnprintf32A
(
buf
,
0x80
,
"%ld"
,
x
);
break
;
case
16
:
wsnprintf32A
(
buf
,
0x80
,
"%lx"
,
x
);
break
;
default:
FIXME
(
crtdll
,
"radix %d not implemented !
\n
"
,
radix
);
}
return
buf
;
}
typedef
VOID
(
*
sig_handler_type
)(
VOID
);
/*********************************************************************
...
...
@@ -2053,11 +2072,3 @@ LPSTR __cdecl CRTDLL__strtime (LPSTR date)
{
FIXME
(
crtdll
,
"%p stub
\n
"
,
date
);
return
0
;
}
/*********************************************************************
* _ultoa (CRTDLL.311)
*/
LPSTR
__cdecl
CRTDLL__ultoa
(
UINT32
x
,
LPSTR
buf
,
INT32
buflen
)
{
wsnprintf32A
(
buf
,
buflen
,
"%d"
,
x
);
return
buf
;
}
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