forked from LeenkxTeam/LNXRNT
Kinc to Kore
This commit is contained in:
19
Kore/miniClib/stdlib.c
Normal file
19
Kore/miniClib/stdlib.c
Normal file
@ -0,0 +1,19 @@
|
||||
#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 *)) {}
|
||||
Reference in New Issue
Block a user