Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
29f3202b731185d993a399f04d2f3e3f78db5a81
/
.
/
src
/
stdlib
/
div.c
blob: e42c1f14fa49464a606e17b8f142ef3c882c23a7 [
file
] [
log
] [
blame
]
Rich Felker
0b44a03
2011-02-12 00:22:29 -0500
[
diff
] [
blame
]
1
#include
<stdlib.h>
2
3
div_t
div
(
int
num
,
int
den
)
4
{
5
return
(
div_t
){
num
/
den
,
num
%
den
};
6
}