mirror of
https://github.com/zeldaret/oot-vc.git
synced 2026-09-26 05:31:58 -04:00
b28c406d4a
* started libc * progress * format * match file_io.c * match mem_funcs and math_api * printf prog and match strtoul.c * format * match bsearch.c * match ansi_fp.c * make USE_CURRENT_LOCALE a global define * started time.c * match the printf function * add splits for oot-u and oot-e * cleanup * review
31 lines
519 B
C
31 lines
519 B
C
#ifndef _STDLIB_H
|
|
#define _STDLIB_H
|
|
|
|
#include "revolution/types.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "alloc.h"
|
|
#include "arith.h"
|
|
#include "mbstring.h"
|
|
#include "rand.h"
|
|
#include "strtold.h"
|
|
#include "strtoul.h"
|
|
|
|
typedef int (*_compare_function)(const void*, const void*);
|
|
void qsort(void*, size_t, size_t, _compare_function);
|
|
|
|
// For functions that return 0 on a success and -1 on failure
|
|
#ifndef EXIT_SUCCESS
|
|
#define EXIT_SUCCESS 0
|
|
#define EXIT_FAILURE -1
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif
|