RAD Studio |  |

_ui64toa, _ui64tow

Header File

stdlib.h

Category

Conversion Routines, Math Routines

Prototype

char *_ui64toa(unsigned __int64 value, char *string, int radix);

wchar_t *_ui64tow(unsigned __int64 value, wchar_t *string, int radix);

Description

_ui64toa converts an unsigned __int64 to a string.

_ui64tow is the unicode version. _ui64tow converts an unsigned __int64 to a wide-character string.

These functions convert value to a null-terminated string and store the result in string. value is an __int64.

radix specifies the base to be used in converting value; it must be between 2 and 36, inclusive. If value is negative and radix is 10, the first character of string is the minus sign (-).

Note: The space allocated for string must be large enough to hold the returned string, including the terminating null character (\0). Can return up to 33 bytes.
Return Value

Returns a pointer to string.

Portability

| POSIX | Win32 | ANSI C | ANSI C++
_ui64toa |  |  |  |
_ui64tow |  | + |  |

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!