_ltoa(3w)

_ltoa3w

Usage

char * _ltoa
(
LONG value,
char* str,
int radix
)

Params

value [In] Value to be converted.

str [Out] Destination for the converted value.

radix [In] Number base for conversion.

Overview

Convert a long integer to a string.

Returns

str.

Notes

- Converts value to a Nul terminated string 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 crashes, as the native function does.

Implementation

Declared in "tchar.h".

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

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.