xref
: /
third_party
/
musl
/
src
/
stdlib
/
abs.c
OpenHarmony-v4.0.1-Release
OpenHarmony-v5.0.1-Release
OpenHarmony-v5.0-Beta1
OpenHarmony-v4.1-Release
OpenHarmony-v4.0-Release
OpenHarmony-v3.2.3-Release
OpenHarmony-v3.2.2-Release
OpenHarmony-v3.2.1-Release
OpenHarmony-v3.2-Release
OpenHarmony-v3.1.7-Release
OpenHarmony-v3.0.8-LTS
Diff With...
OpenHarmony-v5.0.1-Release
OpenHarmony-v5.0-Beta1
OpenHarmony-v4.1-Release
OpenHarmony-v4.0-Release
OpenHarmony-v3.2.3-Release
OpenHarmony-v3.2.2-Release
OpenHarmony-v3.2.1-Release
OpenHarmony-v3.2-Release
OpenHarmony-v3.1.7-Release
OpenHarmony-v3.0.8-LTS
Home
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
#
include
<
stdlib.h
>
2
abs(int a)
3
int
abs
(
int
a
)
4
{
5
return
a
>0 ?
a
: -
a
;
6
}
7