LABS(3) Library Functions Manual LABS(3)
NAME
labs — return a
long integer absolute value
SYNOPSIS
#include <stdlib.h> long int labs(long int i);
DESCRIPTION
The labs() function computes the absolute value of its long integer operand, i. If the result cannot be represented, the behaviour is undefined.
RETURN VALUE
The labs() function returns the absolute value of its long integer operand.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
abs(3) , <stdlib.h> .
DERIVATION
Derived from the ISO C standard.
February 1997 posix.fail