_itow.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

_itow (NTDLL.@)

SYNOPSIS

LPWSTR _itow
 (
  int    value,
  LPWSTR str,
  INT    radix
 )

PARAMS

value [In] Value to be converted.

str [Out] Destination for the converted value.

radix [In] Number base for conversion.

DESCRIPTION

Converts an integer to an unicode string.

RETURNS

Always returns str.

NOTES

Converts value to a ' ' terminated wstring which is copied to str. The maximum length of the copied str is 33 bytes. If radix is 10 and value is negative, the value is converted with sign. Does not check if radix is in the range of 2 to 36. If str is NULL it just returns NULL.

DIFFERENCES

- The native function crashes when the string is longer than 19 chars. This function does not have this bug.

IMPLEMENTATION

Defined in "tchar.h".

Implemented in "dlls/ntdll/wcstring.c".