NAME

_ltoa  (NTDLL.@)

SYNOPSIS

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

DESCRIPTION

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 "include/tchar.h". gitlab.winehq.org/wine/wine/blob/master/include/tchar.h

Implemented in "dlls/ntdll/string.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ntdll/string.c


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.