Subversion Repositories Kolibri OS

Rev

Rev 8793 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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