forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
21
Kha/Kinc/miniClib/stdlib.c
Normal file
21
Kha/Kinc/miniClib/stdlib.c
Normal 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*)) {
|
||||
|
||||
}
|
Reference in New Issue
Block a user