Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | RSS feed

  1. /* Copyright (C) 2021 Logaev Maxim (turbocat2001), GPLv2 */
  2.  
  3. #include "format_print.h"
  4.  
  5. int sprintf(char* buffer, const char* format, ...)
  6. {
  7.   va_list va;
  8.   va_start(va, format);
  9.   const int ret = _vsnprintf(_out_buffer, buffer, (size_t)-1, format, va);
  10.   va_end(va);
  11.   return ret;
  12. }