Add files

This commit is contained in:
2025-01-29 10:55:49 +01:00
commit 98fba39c36
1017 changed files with 403715 additions and 0 deletions

21
Kinc/miniClib/stdlib.c Normal file
View File

@ -0,0 +1,21 @@
#include "stdlib.h"
void exit(int code) {
exit(code);
}
long int strtol(const char *str, char **endptr, int base) {
return 0;
}
int abs(int n) {
return n < 0 ? -n : n;
}
long long int llabs(long long int n) {
return n < 0 ? -n : n;
}
void qsort(void *base, size_t num, size_t size, int (*compar)(const void*,const void*)) {
}