1/*
2 * Copyright 2017-2020 The OpenSSL Project Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License 2.0 (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}
35
36int test_printf_tapout(const char *fmt, ...)
37{
38    va_list ap;
39    int ret;
40
41    va_start(ap, fmt);
42    ret = test_vprintf_tapout(fmt, ap);
43    va_end(ap);
44
45    return ret;
46}
47
48int test_printf_taperr(const char *fmt, ...)
49{
50    va_list ap;
51    int ret;
52
53    va_start(ap, fmt);
54    ret = test_vprintf_taperr(fmt, ap);
55    va_end(ap);
56
57    return ret;
58}
59