stdio.h 534 B

123456789101112131415161718192021222324252627282930
  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 printf(const char *format, ...);
  15. int putchar(int c);
  16. int snprintf(char *str, size_t size, const char *format, ...);
  17. int sprintf(char *str, const char *format, ...);
  18. int puts(char *string);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif