Subversion Repositories Kolibri OS

Rev

Rev 1665 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1665 Rev 2502
Line 120... Line 120...
120
	}	
120
	}	
121
	return (char*)0;
121
	return (char*)0;
122
}
122
}
123
>
123
 
Line -... Line 124...
-
 
124
 
-
 
125
 
-
 
126
void _itoa(int i, char *s)
-
 
127
{
-
 
128
int a, b, c, d;
-
 
129
a = (i - i%1000)/1000;
-
 
130
b = (i - i%100)/100 - a*10;
-
 
131
c = (i - i%10)/10 - a*100 - b*10;
-
 
132
d = i%10;
-
 
133
s[0] = a + '0';
-
 
134
s[1] = b + '0';
-
 
135
s[2] = c + '0';
-
 
136
s[3] = d + '0';
-
 
137
s[4] = 0;
-
 
138
}
-
 
139
>