blob: 93514743e2cf654cf534ff300e0e3cb455eb656e [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -07001/*
2 * Copyright 2017 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the OpenSSL license (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
8 */
9
10#include "output.h"
11
12int test_printf_stdout(const char *fmt, ...)
13{
14 va_list ap;
15 int ret;
16
17 va_start(ap, fmt);
18 ret = test_vprintf_stdout(fmt, ap);
19 va_end(ap);
20
21 return ret;
22}
23
24int test_printf_stderr(const char *fmt, ...)
25{
26 va_list ap;
27 int ret;
28
29 va_start(ap, fmt);
30 ret = test_vprintf_stderr(fmt, ap);
31 va_end(ap);
32
33 return ret;
34}