.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH _i64toa 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fB_i64toa\fR (NTDLL.@) .SH SYNOPSIS char * _i64toa ( LONGLONG \fIvalue\fR, char* \fIstr\fR, int \fIradix\fR ) .SH PARAMS \fIvalue\fR \fB[In]\fR Value to be converted. .PP \fIstr\fR \fB[Out]\fR Destination for the converted \fIvalue\fR. .PP \fIradix\fR \fB[In]\fR Number base for conversion. .PP .SH DESCRIPTION .PP Converts a large integer to a string. .SH RETURNS .PP \fIstr\fR. .SH NOTES .PP \fB-\fR Converts \fIvalue\fR to a Nul terminated string which is copied to \fIstr\fR. .PP \fB-\fR The maximum length of the copied \fIstr\fR is \fB65\fR bytes. If \fIradix\fR is \fB10\fR and \fIvalue\fR is negative, the \fIvalue\fR is converted with sign. .PP \fB-\fR Does not check if \fIradix\fR is in the range of \fB2\fR to \fB36.\fR .PP \fB-\fR If \fIstr\fR is \fBNULL\fR it crashes, as the native function does. .SH DIFFERENCES .PP \fB-\fR The native dll converts negative values (for base \fB10\fR) wrong: .br -1 is converted to -18446744073709551615 .br -2 is converted to -18446744073709551614 .br -9223372036854775807 is converted to -9223372036854775809 .br -9223372036854775808 is converted to -9223372036854775808 .PP The native msvcrt _i64toa function and our ntdll _i64toa function do not have this bug. .SH IMPLEMENTATION .PP Declared in \fB"msvcrt/stdlib.h"\fR. .PP Implemented in \fB"dlls/ntdll/string.c"\fR.