*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> labs (3)              
Title
Content
Arch
Section
 

LABS(3)

Contents


NAME    [Toc]    [Back]

     labs - return the absolute value of a long integer

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <stdlib.h>

     long int
     labs(long int j);

DESCRIPTION    [Toc]    [Back]

     The labs() function returns the absolute value of the long integer j.

SEE ALSO    [Toc]    [Back]

      
      
     abs(3), cabs(3), floor(3), llabs(3), math(3)

STANDARDS    [Toc]    [Back]

     The labs() function conforms to ANSI X3.159-1989 (``ANSI C'').

BUGS    [Toc]    [Back]

     The absolute value of the most negative integer remains negative.

BSD                              June 4, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
llabs NetBSD return the absolute value of a long long integer
wcstol IRIX convert wide character string to long integer, unsigned long integer, long long integer, unsigned long long in
abs IRIX return integer absolute value
qabs OpenBSD return the absolute value of a quad integer
qabs NetBSD return the absolute value of a quad integer
strtoq FreeBSD convert a string value to a long, long long, intmax_t or quad_t integer
strtol NetBSD convert string value to a long, long long, intmax_t or quad_t integer
strtoll FreeBSD convert a string value to a long, long long, intmax_t or quad_t integer
strtoq NetBSD convert string value to a long, long long, intmax_t or quad_t integer
strtoll NetBSD convert string value to a long, long long, intmax_t or quad_t integer
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service