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
getnameinfo: make size check not fail for bigger sizes
[musl.git]
/
src
/
stdlib
/
ldiv.c
blob
36eb960b09784f12013d34d9b28a16d2a4e1c296
1
#include <stdlib.h>
2
3
ldiv_t
ldiv
(
long
num
,
long
den
)
4
{
5
return
(
ldiv_t
){
num
/
den
,
num
%
den
};
6
}