LABS(3)LABS(3)NAMElabs - return the absolute value of a long integer
SYNOPSIS
#include <stdlib.h>
long
labs(long j);
DESCRIPTION
Labs returns the absolute value of the long integer n.
SEE ALSOabs(3), floor(3)STANDARDS
Labs conforms to ANSI X3.159-1989 (``ANSI C'').
BUGS
The absolute value of the most negative integer remains negative.
4.4 Berkeley Distribution May 16, 1990 LABS(3)