index
:
musl
awilfox/monotonic-dns
lookup-serv
master
posix-compliance
ustat
The musl libc tree (WIP / dev branches)
root
summary
refs
log
blame
commit
diff
log msg
author
committer
range
path:
root
/
src
/
stdlib
/
imaxabs.c
blob: 8100181930e62701d1e8794b5d845980b762ceb0 (
plain
) (
tree
)
0b44a031
1
2
3
4
5
6
#include
<inttypes.h>
intmax_t
imaxabs
(
intmax_t
a
)
{
return
a
>
0
?
a
:
-
a
;
}