summaryrefslogtreecommitdiffstatshomepage
path: root/teensy/std.h
blob: 7003e7be0b789c24bd490195ce8b49c4b81b595e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
typedef unsigned int size_t;

void __assert_func(void);

void *malloc(size_t n);
void free(void *ptr);
void *realloc(void *ptr, size_t n);

void *memcpy(void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
void *memset(void *s, int c, size_t n);

int strlen(const char *str);
int strcmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t n);
char *strcpy(char *dest, const char *src);
char *strcat(char *dest, const char *src);

int printf(const char *fmt, ...);
int snprintf(char *str, size_t size, const char *fmt, ...);