stdio: add snprintf

this implementation is terrible but it works for now
This commit is contained in:
Michael Shaw 2023-05-09 21:51:14 -04:00
commit 7ca418ff10
2 changed files with 108 additions and 0 deletions

View file

@ -16,5 +16,6 @@
#define LOG_INFO "[LOG] "
int printf(const char *restrict fmt, ...);
int snprintf(char *str, char *restrict fmt, size_t size, ...);
#endif /* _SDTIO_H_ */