output_helpers.c 701 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  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. #include "output.h"
  10. int test_printf_stdout(const char *fmt, ...)
  11. {
  12. va_list ap;
  13. int ret;
  14. va_start(ap, fmt);
  15. ret = test_vprintf_stdout(fmt, ap);
  16. va_end(ap);
  17. return ret;
  18. }
  19. int test_printf_stderr(const char *fmt, ...)
  20. {
  21. va_list ap;
  22. int ret;
  23. va_start(ap, fmt);
  24. ret = test_vprintf_stderr(fmt, ap);
  25. va_end(ap);
  26. return ret;
  27. }