Subversion Repositories Kolibri OS

Rev

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

Rev Author Line No. Line
8622 Boppan 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
}