Cross Reference: div.c
xref
: /
seL4-refos-master
/
libs
/
libmuslc
/
src
/
stdlib
/
div.c
Home
History
Annotate
Line#
Navigate
Raw
Download
only in
/seL4-refos-master/libs/libmuslc/src/stdlib/
1
#
include
<
stdlib.h
>
2
3
div_t
div
(
int
num
,
int
den
)
4
{
5
return
(
div_t
){
num
/
den
,
num
%
den
};
6
}
7