abs(9) return absolute value of an argument

SYNOPSIS

abs(x);

ARGUMENTS

x

the value. If it is unsigned type, it is converted to signed type first. char is treated as if it was signed (regardless of whether it really is) but the macro's return type is preserved as char.

RETURN

an absolute value of x.

COPYRIGHT