LNXCORE/Kinc/miniClib/stdlib.c
2025-01-22 17:22:38 +01:00

22 lines
357 B
C

#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*)) {
}