mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:37:35 +00:00
LibC: Add some integer functionality needed for NASM.
This commit is contained in:
parent
caff611ca3
commit
ddb13ae6d8
4 changed files with 29 additions and 0 deletions
|
@ -30,5 +30,10 @@ void srand(unsigned seed);
|
|||
long int random();
|
||||
void srandom(unsigned seed);
|
||||
|
||||
typedef struct { int quot; int rem; } div_t;
|
||||
div_t div(int, int);
|
||||
typedef struct { long quot; long rem; } ldiv_t;
|
||||
ldiv_t ldiv(long, long);
|
||||
|
||||
__END_DECLS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue