ultrix man page for labs

Query: labs

OS: ultrix

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

abs(3)							     Library Functions Manual							    abs(3)

Name
       abs, labs - integer absolute value

Syntax
       #include <stdlib.h>
       #include <stdlib.h>

       long labs(i)
       long i;

       int abs(i)
       int i;

       long labs(i)
       long i;

Description
       The and functions return the absolute value of their integer operand.  The labs function does the same for a long int.

Restrictions
       Applying the or function to the most negative integer generates a result which is the most negative integer.  That is,
       abs(0x80000000)

       returns 0x80000000 as a result.

See Also
       floor(3m)

																	    abs(3)
Related Man Pages
abs(3c) - opensolaris
llabs(3) - redhat
abs(3) - redhat
abs(3) - osf1
div(3) - osf1
Similar Topics in the Unix Linux Community
max number of slabs per kernel module (kernel 2.6.17, suse)
Berkeley Visualization Labs
Lock Box Labs PGP Tools 1.00 (Default branch)
Bug Labs creates open source Lego for software engineers
Need some E-Labs for solaris 10 &amp; veritas volume manager