1ABS(9) Driver Basics ABS(9)
23
4
NAME
6abs - return absolute value of an argument
7
SYNOPSIS
9abs(x);
10
ARGUMENTS
12x
13the value. If it is unsigned type, it is converted to signed type
14first (s64, long or int depending on its size).
15
RETURN
17an absolute value of x. If x is 64-bit, macro's return type is s64,
18otherwise it is signed long.
19
COPYRIGHT
21Kernel Hackers Manual 3.10 June 2019 ABS(9)