mirror of
https://github.com/reactos/reactos.git
synced 2024-08-28 14:18:41 +00:00
26 lines
446 B
C
26 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;
|
||
|
}
|