C / stdlib.h / labs
abort, abs, atexit, atof, atoi, atol, bsearch, calloc, div, exit, free, getenv, » labs, ldiv, malloc, mble, mbstowcs, mbtowc, qsort, rand, realloc, srand, strtod, strtol, strtoul, system, wctomb,
Funcion: labs()
Sintaxis:
long int labs(long int num);

Descripcion: Similar a abs, excepto que el argumento es de tipo long int.


Ejemplo:
#include <stdlib.h>
#include <stdio.h>
 
int main()
{
   long int num;
 
   puts( "Escriba un numero entero:" );
   scanf( "%d", &num );
   printf( "labs( %d ) = %d\n", num, labs(num) );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h