std.h 718 B

12345678910111213141516171819202122232425
  1. #ifndef MICROPY_INCLUDED_TEENSY_STD_H
  2. #define MICROPY_INCLUDED_TEENSY_STD_H
  3. typedef unsigned int size_t;
  4. void __assert_func(void);
  5. void *malloc(size_t n);
  6. void free(void *ptr);
  7. void *realloc(void *ptr, size_t n);
  8. void *memcpy(void *dest, const void *src, size_t n);
  9. void *memmove(void *dest, const void *src, size_t n);
  10. void *memset(void *s, int c, size_t n);
  11. size_t strlen(const char *str);
  12. int strcmp(const char *s1, const char *s2);
  13. int strncmp(const char *s1, const char *s2, size_t n);
  14. char *strcpy(char *dest, const char *src);
  15. char *strcat(char *dest, const char *src);
  16. int printf(const char *fmt, ...);
  17. int snprintf(char *str, size_t size, const char *fmt, ...);
  18. #endif // MICROPY_INCLUDED_TEENSY_STD_H