llabs()

Calculate the absolute value of a long long integer

Synopsis:

#include <stdlib.h>

long long llabs( long long j );

Arguments:

j
The number you want the absolute value of.

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

The llabs() function returns the absolute value of its long-long-integer argument j.

Returns:

The absolute value of j.

Classification:

POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes