stdio.h 531 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * Copyright (c) 2006-2022, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2022-06-07 Meco Man first version
  9. */
  10. #ifndef __POSIX_STDIO_H__
  11. #define __POSIX_STDIO_H__
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. #include <stdio.h>
  16. #include <sys/types.h>
  17. ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);
  18. ssize_t getline(char **lineptr, size_t *n, FILE *stream);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif /* __POSIX_STDIO_H__ */