FSF.itoa64

Far Manager

itoa64

The FSF.itoa64 function converts a 64-bit integer value into a string.
char * WINAPI itoa64(
  __int64 Value,
  char *Str,
  int Radix);

Parameters

Value
64-bit integer value to convert.
Str
Pointer to a buffer that will receive the resulting string. The size of the Str string must be large enough to hold the converted string (max value = 64 symbols + '\0').
Radix
Base of Value. Must be in then range 2 - 36.

Return value

The return value is a pointer to the resulting string (Str). There is no error return.

Remarks

If Radix equals 10 and Value is negative, the first character of the resulting string will be the minus sign '-'.

Example

You can define and initialize a function pointer to use it later:
FARSTDITOA64 FarItoa64;
...
FarItoa64=Info.FSF->itoa64;
...
FarItoa64(Value64,Str,10);
...or call the function directly:
Info.FSF->itoa64(Value64,Str,10);
See also: