mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
28 lines
1004 B
C
28 lines
1004 B
C
#ifndef __WUT_NEWLIB_H
|
|
#define __WUT_NEWLIB_H
|
|
|
|
#include <sys/errno.h>
|
|
#include <sys/reent.h>
|
|
#include <sys/time.h>
|
|
#include <sys/iosupport.h>
|
|
|
|
void * __wut_sbrk_r(struct _reent *r, ptrdiff_t incr);
|
|
int __wut_lock_init(int *lock, int recursive);
|
|
int __wut_lock_close(int *lock);
|
|
int __wut_lock_acquire(int *lock);
|
|
int __wut_lock_release(int *lock);
|
|
void __wut_malloc_lock(struct _reent *r);
|
|
void __wut_malloc_unlock(struct _reent *r);
|
|
int __wut_gettod_r(struct _reent *ptr, struct timeval *tp,
|
|
struct timezone *tz);
|
|
int __wut_clock_gettime(clockid_t clock_id, struct timespec *tp);
|
|
int __wut_clock_settime(clockid_t clock_id, const struct timespec *tp);
|
|
int __wut_clock_getres(clockid_t clock_id, struct timespec *res);
|
|
int __wut_nanosleep(const struct timespec *req, struct timespec *rem);
|
|
|
|
void __init_wut_malloc_lock();
|
|
void __init_wut_sbrk_heap();
|
|
void __fini_wut_sbrk_heap();
|
|
|
|
#endif // ifndef __WUT_NEWLIB_H
|