1ABS(9)                           Driver Basics                          ABS(9)
2
3
4

NAME

6       abs - return absolute value of an argument
7

SYNOPSIS

9       abs(x);
10

ARGUMENTS

12       x
13           the value. If it is unsigned type, it is converted to signed type
14           first (s64, long or int depending on its size).
15

RETURN

17       an absolute value of x. If x is 64-bit, macro's return type is s64,
18       otherwise it is signed long.
19
21Kernel Hackers Manual 3.10         June 2019                            ABS(9)
Impressum