repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
guard against compilers failing to handle setjmp specially by default
[musl.git]
/
src
/
stdlib
/
imaxdiv.c
blob
b2ce821f51e3e2428e773e2e9eae6c2156157fb6
1
#include <inttypes.h>
2
3
imaxdiv_t
imaxdiv
(
intmax_t
num
,
intmax_t
den
)
4
{
5
return
(
imaxdiv_t
){
num
/
den
,
num
%
den
};
6
}