stdio.h 531 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _WAMR_LIBC_STDIO_H
  6. #define _WAMR_LIBC_STDIO_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. #ifndef NULL
  11. #define NULL ((void *)0)
  12. #endif
  13. typedef unsigned long size_t;
  14. int
  15. printf(const char *format, ...);
  16. int
  17. putchar(int c);
  18. int
  19. snprintf(char *str, size_t size, const char *format, ...);
  20. int
  21. sprintf(char *str, const char *format, ...);
  22. int
  23. puts(char *string);
  24. #ifdef __cplusplus
  25. }
  26. #endif
  27. #endif