snprintf now working! (fixed problem will calls inside calls)

This commit is contained in:
pommicket 2022-02-14 11:39:33 -05:00
parent 1f9534d750
commit f7a8a193c2
5 changed files with 44 additions and 8 deletions

View file

@ -63,4 +63,10 @@ long write(int fd, void *buf, size_t count) {
__syscall(1, fd, buf, count, 0, 0, 0);
}
size_t strlen(char *s) {
char *t = s;
while (*t) ++t;
return t - s;
}
#endif // _STDC_COMMON_H