mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
29 lines
459 B
C
29 lines
459 B
C
#ifndef LIBC_STDLIB_H
|
|
#define LIBC_STDLIB_H
|
|
|
|
#include "stddef.h"
|
|
|
|
typedef struct {
|
|
/* 0x0 */ int quot;
|
|
/* 0x4 */ int rem;
|
|
} div_t;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ long quot;
|
|
/* 0x4 */ long rem;
|
|
} ldiv_t;
|
|
|
|
typedef struct {
|
|
/* 0x0 */ long long quot;
|
|
/* 0x8 */ long long rem;
|
|
} lldiv_t;
|
|
|
|
typedef int ssize_t;
|
|
|
|
typedef long wchar_t;
|
|
|
|
ldiv_t ldiv(long numer, long denom);
|
|
lldiv_t lldiv(long long numer, long long denom);
|
|
|
|
#endif /* STDLIB_H */
|