kstdio.h 599 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (c) 2006-2024, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2024-09-22 Meco Man the first version
  9. */
  10. #ifndef __RT_KSTDIO_H__
  11. #define __RT_KSTDIO_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. int rt_vsprintf(char *dest, const char *format, va_list arg_ptr);
  16. int rt_vsnprintf(char *buf, rt_size_t size, const char *fmt, va_list args);
  17. int rt_sprintf(char *buf, const char *format, ...);
  18. int rt_snprintf(char *buf, rt_size_t size, const char *format, ...);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif