stdio.h 485 B

1234567891011121314151617181920212223242526
  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. typedef unsigned int size_t;
  11. int printf(const char *format, ...);
  12. int putchar(int c);
  13. int snprintf(char *str, size_t size, const char *format, ...);
  14. int sprintf(char *str, const char *format, ...);
  15. int puts(char *string);
  16. #ifdef __cplusplus
  17. }
  18. #endif
  19. #endif