Changeset 21879 for branches/gcc-kmk/src


Ignore:
Timestamp:
Dec 13, 2011, 12:07:16 PM (14 years ago)
Author:
dmik
Message:

Add snwprintf to minivcrt.h.

This is mainly to be used instead of POSIX snprintf which is
missing from the current kLIBC runtime.

Location:
branches/gcc-kmk/src/ntdll
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/ntdll/ntdll.def

    r21357 r21879  
    983983    _memicmp                      = _NTDLL__memicmp         @956
    984984    __snprintf                    = __std_snprintf          @957
    985     __snwprintf                   = __snwprintf             @958
     985    __snwprintf                   = _NTDLL_snwprintf        @958
    986986    __splitpath                   = __splitpath             @959
    987987    _strcmpi                      = __std_stricmp           @960
     
    10801080    wcstoul                       = _NTDLL_wcstoul                       @1049
    10811081
     1082    snwprintf                     = _NTDLL_snwprintf                     @1050
     1083
    10821084;   Not found in NTDLL-SP6:
    10831085    DebugBreak                    = "___regs_DebugBreak@4"                @1200
  • branches/gcc-kmk/src/ntdll/wcstring.c

    r9986 r21879  
    709709 *        _snwprintf (NTDLL.@)
    710710 */
    711 int __cdecl _snwprintf(WCHAR *str, unsigned int len, const WCHAR *format, ...)
     711int __cdecl NTDLL_snwprintf(WCHAR *str, unsigned int len, const WCHAR *format, ...)
    712712{
    713713  int retval;
Note: See TracChangeset for help on using the changeset viewer.