From 870dda5bccbd57ad6895ccfd49979e5a1d4713eb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 14 Dec 1998 14:45:21 +0000 Subject: [PATCH] _ultoa implemented. --- misc/crtdll.c | 9 +++++++++ relay32/crtdll.spec | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/misc/crtdll.c b/misc/crtdll.c index fb91ca12af8..30cf346ee3f 100644 --- a/misc/crtdll.c +++ b/misc/crtdll.c @@ -2045,6 +2045,7 @@ LPSTR __cdecl CRTDLL__strdate (LPSTR date) { FIXME (crtdll,"%p stub\n", date); return 0; } + /********************************************************************* * strtime (CRTDLL.299) */ @@ -2052,3 +2053,11 @@ 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; +} diff --git a/relay32/crtdll.spec b/relay32/crtdll.spec index d7b40c200bb..e9d9a23e10a 100644 --- a/relay32/crtdll.spec +++ b/relay32/crtdll.spec @@ -312,7 +312,7 @@ type win32 308 stub _toupper 309 stub _tzname 310 stub _tzset -311 stub _ultoa +311 cdecl _ultoa(long ptr long) CRTDLL__ultoa 312 stub _ultow 313 stub _umask 314 stub _ungetch