ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



LLABS(3)                 BSD Library Functions Manual                 LLABS(3)

NAME
     llabs -- returns absolute value

LIBRARY
     Standard C Library (libc, -lc)

SYNOPSIS
     #include <stdlib.h>

     long long
     llabs(long long i);

DESCRIPTION
     The llabs() function returns the absolute value of i.

SEE ALSO
     abs(3), fabs(3), hypot(3), imaxabs(3), labs(3), math(3)

STANDARDS
     The llabs() function conforms to ISO/IEC 9899:1999 (``ISO C99'').

HISTORY
     The llabs() function first appeared in FreeBSD 5.0.

BUGS
     The absolute value of the most negative integer remains negative.

BSD                            November 14, 2001                           BSD

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.