#include <stdlib.h> long labs(long x);
This function takes the absolute value of x. See section abs.
|x|
ANSI, POSIX
Go to the first, previous, next, last section, table of contents.