index
:
mirror/musl
this commit
master
rs-1.0
mirror of git://git.musl-libc.org/musl
Leah Neukirchen
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
stdlib
/
labs.c
blob: 83ddb1475c2df6ec9abdaece8a0031e0f24c7487 (
plain
) (
blame
)
1
2
3
4
5
6
#include <stdlib.h> long labs(long a) { return a>0 ? a : -a; }