VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.3/test/testutil/output.c@ 95218

最後變更 在這個檔案從95218是 94320,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

檔案大小: 1.0 KB
 
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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette