int abs

int abs(int __i)

The abs() function computes the absolute value of the integer i.
Note:

The abs() and labs() functions are builtins of gcc.