Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / clib / abs.c
blob8cece9f73b30a1bc897e2a6d16af9a94bd34ab2d
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 $Id$
5 ANSI C function abs().
6 */
8 /*****************************************************************************
10 NAME */
11 #include <stdlib.h>
13 int abs (
15 /* SYNOPSIS */
16 int j)
18 /* FUNCTION
19 Compute the absolute value of j.
21 INPUTS
22 j - A signed integer
24 RESULT
25 The absolute value of j.
27 NOTES
29 EXAMPLE
30 // returns 1
31 abs (1);
33 // returns 1
34 abs (-1);
36 BUGS
38 SEE ALSO
39 labs(), fabs()
41 INTERNALS
43 ******************************************************************************/
45 return (j < 0) ? -j : j;
46 } /* abs */