index
:
rocket-tools/riscv-gnu-toolchain/musl.git
master
rs-1.0
Unnamed repository; edit this file 'description' to name the repository.
root
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
stdlib
/
abs.c
blob: e721fdc2b17e7917430eca885297b6e2d47986a1 (
plain
)
1
2
3
4
5
6
#include <stdlib.h>
int
abs
(
int
a
)
{
return
a
>
0
?
a
: -
a
;
}