mirror of
https://github.com/zeldaret/oot-gc.git
synced 2026-10-04 16:27:55 -04:00
36e1694e99
* updated headers * moved current files to their own folder * added OS files * don't use osreboot.c * first os files * match os files * cleanup * remove asm_types.h * review 1 * remove math.h * move emulator headers to their own folder * use the build year instead of the revision number for sdk rev define * updated the comment about the revision * function declaration cleanup * improve formatting * match osreboot * review * add missing files to objdiff.json
27 lines
453 B
C
27 lines
453 B
C
#ifndef _STDLIB_H_
|
|
#define _STDLIB_H_
|
|
|
|
#include "stddef.h"
|
|
#include "wchar.h"
|
|
|
|
#define RAND_MAX 32767
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void srand(unsigned int seed);
|
|
int rand(void);
|
|
void exit(int status);
|
|
size_t wcstombs(char* dest, const wchar_t* src, size_t max);
|
|
int atoi(const char* str);
|
|
|
|
typedef int (*_compare_function)(const void*, const void*);
|
|
void qsort(void*, size_t, size_t, _compare_function);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|