mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 22:00:55 +00:00
25 lines
446 B
C
25 lines
446 B
C
/*
|
|
* COPYRIGHT: GNU GPL, see COPYING in the top level directory
|
|
* PROJECT: ReactOS crt library
|
|
* FILE: lib/sdk/crt/printf/_scprintf.c
|
|
* PURPOSE: Implementation of _scprintf
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <stdarg.h>
|
|
|
|
int
|
|
__cdecl
|
|
_scprintf(
|
|
const char *format,
|
|
...)
|
|
{
|
|
int len;
|
|
va_list args;
|
|
|
|
va_start(args, format);
|
|
len = _vscprintf(format, args);
|
|
va_end(args);
|
|
|
|
return len;
|
|
}
|