| 383 | |
| 384 | |
| 385 | ILuint ILAPIENTRY ilprintf(const char *Line, ...) |
| 386 | { |
| 387 | char Buffer[2048]; // Hope this is large enough |
| 388 | va_list VaLine; |
| 389 | ILuint i; |
| 390 | |
| 391 | va_start(VaLine, Line); |
| 392 | vsprintf(Buffer, Line, VaLine); |
| 393 | va_end(VaLine); |
| 394 | |
| 395 | i = ilCharStrLen(Buffer); |
| 396 | iwrite(Buffer, 1, i); |
| 397 | |
| 398 | return i; |
| 399 | } |
| 400 | |
| 401 | |
| 402 | // To pad zeros where needed... |
nothing calls this directly
no test coverage detected